This is a discussion on Listing files in a directory. within the C++ Programming forums, part of the General Programming Boards category; Sorry...
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().
"The Internet treats censorship as damage and routes around it." - John Gilmore
FindFirstFile()... that's the function name I couldn't rememberOriginally 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.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
I support http://www.ukip.org/ as the first necessary step to a free Europe.