PDA

View Full Version : [SOLVED] Boost Filesystem



Zeotronic
July 30th, 2008, 11:33 PM
C++/Boost: I'm using the Boost Filesystem header to check directories, and I find the site's documentation page difficult to understand... does anyone know of other sites that document Boost Filesystem?

The specific problem I'm having is trying to find all of the contents of a directory... I'm not entirely sure how to do it. As I understand it I have my directory iterator, and I increment it until I've incremented through the contents of the whole directory... however, I'm not sure how to do that in a while loop. I have an example on my computer that does it, but it uses a seemingly empty directory iterator to signify the end... but if at all possible, I would rather not declare an empty directory iterator.

Zeotronic
July 31st, 2008, 12:22 AM
Ok, I've figured out how to do what I needed to do, but if anyone knows any other sites that document Boost, I'd still love to know what they are.