Is it possible to read all the file names in one directory into a program?
And if so how would I do this?
-Devouring One-
Is it possible to read all the file names in one directory into a program?
And if so how would I do this?
-Devouring One-
Dev C++
Win XP/2k/98
I DO NOT TAKE CLASSES I DONT GET HOMEWORK THIS IS NOT A HOMEWORK QUESTION!!!
He's lean he's keen... He's the spank machine!
No one???? There must be a way to have a program look for all the files in a folder then read their filenames not the content.
Dev C++
Win XP/2k/98
I DO NOT TAKE CLASSES I DONT GET HOMEWORK THIS IS NOT A HOMEWORK QUESTION!!!
He's lean he's keen... He's the spank machine!
1. Don't bump your threads, it is against the rules and may result in your thread being deleted. The rules...
http://cboard.cprogramming.com/annou...p?s=&forumid=3
2. Use the FindFirstFile()/FindNextFile() API routines to list the files in a directory. Look them up in the help or at MSDN.
Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.
Technacly I didn't bumb my thread, the one posted earlier wasn't posted by me it was posted by my friend and that problem we have over come.... it is only haveing to list all the files in a directory which we need to find out.
Dev C++
Win XP/2k/98
I DO NOT TAKE CLASSES I DONT GET HOMEWORK THIS IS NOT A HOMEWORK QUESTION!!!
He's lean he's keen... He's the spank machine!
I don't care if you, your friend or your dog bumped it, it was bumped.
The question is answered.
Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.