I wrote a c++ program that takes files as input. the problem is that I have about 1000 files to input to the program and you bet that it's kind of hard to enter each filename manually. so I would like to save all the files in a directory and write a piece of code that automatically selects all the files in the directory, one after another, and input them in the program. Does someone know how to? I will definitely appreciate.