Is it possible to find out what files exist in a directory in C/C++?
Of course!
Mind giving me an example!?
For example if you want to print the nhame of every file in a directory:
[edit]
Read the Allegro manual! The part about files.
al_findfirst
al_findnext
al_findclose
He did say C/C++, not C/C++ and Allegro.
Excellent, excellent.....now.....how would I copy and paste a file, given the file name?
copy filename destination
And under windows, FindFirst/FindNext or something with those substrings.
I will print out this thread;D