Read file names?

So I'm working on a program where I need to read multiple files and work with the data. I just don't know how to read multiple files using c++. Just one file at a time and that's if I know the file name. My goal is to be able to read the names of text files from the folder where the program is held so I don't need to ask the user for the file names individually. Anyone can help?
The Boost filesystem library is probably the way to go, for a cross-platform approach.

http://www.boost.org/doc/libs/1_60_0/libs/filesystem/doc/index.htm
Under Windows you can use FindFirstFile and FindNextFile.
https://msdn.microsoft.com/en-us/library/windows/desktop/aa364418%28v=vs.85%29.aspx
Topic archived. No new replies allowed.