|
How to read a dirctory? |
Moving Shadow
Member #5,973
July 2005
|
Is it possible to find out what files exist in a directory in C/C++? |
Evert
Member #794
November 2000
|
Of course! |
Moving Shadow
Member #5,973
July 2005
|
Mind giving me an example!? |
miran
Member #2,407
June 2002
|
-- |
LennyLen
Member #5,313
December 2004
|
For example if you want to print the nhame of every file in a directory: [edit] Quote: Read the Allegro manual! The part about files. al_findfirst He did say C/C++, not C/C++ and Allegro.
|
Moving Shadow
Member #5,973
July 2005
|
Excellent, excellent.....now.....how would I copy and paste a file, given the file name? |
A J
Member #3,025
December 2002
|
copy filename destination ___________________________ |
Thomas Fjellstrom
Member #476
June 2000
|
-- |
CGamesPlay
Member #2,559
July 2002
|
And under windows, FindFirst/FindNext or something with those substrings. -- Ryan Patterson - <http://cgamesplay.com/> |
Murat AYIK
Member #6,514
October 2005
|
I will print out this thread;D _____________________________________________________ |
|