|
From: staale <st...@le...> - 2003-07-10 22:30:20
|
Hi Todd, When you have found a sample with google, as Per suggested, you should put this in mind: Some of the samples you find does not work if you do anything with the files (in the directory). Like create, delete and such after you have created appropriate filehandless. If you encounter problems make the system flush the file cache. I do not remember how It was done (google or alltheweb will be your friend..:o), but I spent several days on something like this some years ago. Just my 2c, on this one..:) Best regards Staale At 15:45 09.07.2003 -0500, Tod...@De... wrote: >Hello, > >I am new to C++. I like to read files name in the folder . For an example, >My path is "C:\temp\data ", and in the folder there are some files that i >need to read only file name like file1.dat , file2.dat , file3.dat .... all >my dat file. If anyone have any advice or good idea how to write this >function for me I will be very happy. Thank you very much > > >Todd c. > > > > > >------------------------------------------------------- >This SF.Net email sponsored by: Parasoft >Error proof Web apps, automate testing & more. >Download & eval WebKing and get a free book. >www.parasoft.com/bulletproofapps >_______________________________________________ >Dev-cpp-users mailing list >Dev...@li... >TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm >https://lists.sourceforge.net/lists/listinfo/dev-cpp-users |