Hello All,
 
I'm currently writing a short program which extracts and compares certain structural elements from .pdb files. 
 
I've been using C++ for convenience (I'm more familiar with that language than others), but I've run into a snag.  C++ does not seem to have a simple means of evaluating all files in a directory if it is given a directory path.
 
I was going to work around this by including a text file with each directory's .pdb file names along with the .pdb files.  Then, given a directory path, the program could read in the individual file names from the directory's text file and append them to the directory path.  This would allow it to evaluate each .pdb in a given directory.
 
However, this requires manually adjusting the included text file any time .pdb files are added or removed from the folder; it can be time consuming.
 
Does anyone here know of a coding solution that would allow a C++ program to evaluate a directory's files (and possibly even subdirectories' files) without a clumsy work-around described above?
 
Thanks in advance,
 
Jim H.

Reply via email to