finding out all the files in a folder

Started by
1 comment, last by moeron 18 years, 9 months ago
i'm trying to have my program open every file in the folder it is running in. how to i get such a list of files? i'm doing this for windows xp using c++. thank you.
Charles Reed, CEO of CJWR Software LLC
Advertisement
I would use boost::filesystem.
For Win32 I believe you can use FindFirstFile / FindNextFile, etc. But boost::filesystem would be much more portable. You can read more about them on MSDN
moe.ron

This topic is closed to new replies.

Advertisement