: I have a question. In a c program, I need to look at
: a directory. I need to take each file of a certain
: extension, do work on it, and output a file related to
: each with a different extension. Anybody know
: anything about this? Thanks in advance.
This is operating system dependant. In the Windows environments, FindFileFirst, FindFileNext, and FindClose are the three you need to look at. You might also need GetCurrentDirectory to get the current working directory.
Comments
: a directory. I need to take each file of a certain
: extension, do work on it, and output a file related to
: each with a different extension. Anybody know
: anything about this? Thanks in advance.
This is operating system dependant. In the Windows environments, FindFileFirst, FindFileNext, and FindClose are the three you need to look at. You might also need GetCurrentDirectory to get the current working directory.