Question

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.


Comments

  • : 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.





Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories