N
none
Maybe this is not directly a C++ question but since my app is written in C++ I will get it a try.
I have an application that reads jobs from a job container and process each job until the container
is empty. Each job has a unique id.
Now when a job is being processed one or more files needs to be read. Each file basically just
contains a list of floats (and the filename is prefixed with the jobId).
My current approach is to make one file for all the jobs where I write the path to the directory
containing the input files. This looks likes this:
coeff_dir = /home/bob/input/
When the application is run the current jobId is used to lookup the right file in the folder.
Are there any better way (maybe using xml) to do this kind of file input based application?
I have an application that reads jobs from a job container and process each job until the container
is empty. Each job has a unique id.
Now when a job is being processed one or more files needs to be read. Each file basically just
contains a list of floats (and the filename is prefixed with the jobId).
My current approach is to make one file for all the jobs where I write the path to the directory
containing the input files. This looks likes this:
coeff_dir = /home/bob/input/
When the application is run the current jobId is used to lookup the right file in the folder.
Are there any better way (maybe using xml) to do this kind of file input based application?