Can someone please remind me of the function used to scan a directory for a list of files it contrains, by file type... *.txt
I am not sure there are standard functions for this.
Perharps search MSDN for WinAPI functions. Maybe FindFirstFile() and FindNextFile().
http://www.adrianxw.dk/SoftwareSite/index.html is always a good place to learn. There are other ways, though. Boost has some functionality which deals with directories etc.
FindFirstFile()... that's the function name I couldn't remember :)Quote:
Originally Posted by maxorator
There's always the FAQ.
Nah, that's a really stupid idea, who'd bother to write a FAQ, let alone read one.