Raised This Month: $ Target: $400
 0% 

get Filelist of a directory


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Xanimos
Veteran Member
Join Date: Apr 2005
Location: Florida
Old 08-26-2005 , 11:40  
Reply With Quote #2

Code:
#define MAX_FILES 100 new szDir = "directory/path/"; //... new szFiles[MAX_FILES][75], FileCount = 0; new DirH = open_dir(szDir,szFiles[FileCount],74); while(next_file(DirH,szFiles[++FileCount],74) ) {   if(FileCount == MAX_FILES) break;  } //All the files will be stored into szFiles as a two-dimensional array.
Xanimos is offline
Send a message via AIM to Xanimos Send a message via MSN to Xanimos
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 14:33.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode