|
-
July 22nd, 2010, 11:38 AM
#1
Directory and File Listing
Greetings!
I am trying to traverse a directory, its subdirectories, and get the path to all of its files. I plan to store this so I may load the files later on.
To avoid "Reinventing the wheel, I thought there would be a "standard" way to get a file / directory listing, but I have been unable to find one.
I am working on Windows and just trying to create a simple console application. If anyone can give me advice or direct me to a good example, it would be appreciated. Thank you much!
-
July 22nd, 2010, 12:26 PM
#2
Re: Directory and File Listing
It's in the FAQ. Poke around in there. You'll find it.
-
July 22nd, 2010, 01:48 PM
#3
Re: Directory and File Listing
Have a look at the Boost Filesystem library.
Cheers, D Drmmr
Please put [code][/code] tags around your code to preserve indentation and make it more readable.
As long as man ascribes to himself what is merely a posibility, he will not work for the attainment of it. - P. D. Ouspensky
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
|