Multiple file input...

From the command line, I want to execute the program with the directory of the files I plan to process as an arguement.

C:\> catch c:\myfiles\

From within the main(), I can set string dir = argv[1], but how would I then open *.txt for processing?

Thanks in advance!

Topic archived. No new replies allowed.