|
From: Doug M. <dou...@al...> - 2004-02-16 17:32:15
|
> [snip] > > Hi, my name is Lorenzo and I'm new in C++ programming. I'm writing a command line application using DEV-C++ and I want to pass to command line a sentence of type " myapp *.* " to make it work on all files in a directory. How can I do it? How can I pass a directory name to my application and make it work on current directory and all subdirectory? > [/snip] > > > How about the readdir() function? > >>>> P.S. Google is your friend. Another "friend" a co-worker pointed me to: http://www-h.eng.cam.ac.uk/help/tpl/languages/C++/Thinking_in_C++/ Best, Doug MacDonald |