|
-
Aug 21st, 2008, 07:52 AM
#1
Thread Starter
Member
vector of char arrays, or resizable 2d char array?
Wrote a recursive directory/file listing function to index my music.
Problem is, it recurses when it finds a directory which messes up the order of all the files / dirs, so it needs to loop through once and recursively add all the directories to a vector / 2d array then go ahead and list all the files in them afterwards.
BTW: NOT USING THE string CLASS.
I tried using realloc to do something similar but failed ;(
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|