directories
This is a wiki page. Be bold and improve it!
If you have any questions about the content on this page, don't hesitate to open a new ticket and we'll do our best to assist you.
Working with directories.
Using the C POSIX Library
Check:
dirent.h
http://www.opengroup.org/onlinepubs/9699919799/basedefs/dirent.h.html
and unistd.h:
http://opengroup.org/onlinepubs/007908799/xsh/unistd.h.html
Using the Boost C++ Library
The Boost filesystem lib has been accepted by the C++ Standard committee and will mostly be part of the future C++ standard. Thus it makes sense to use it.
See:
http://www.boost.org/doc/libs/1_43_0/libs/filesystem/doc/index.htm
Beware: the "2 minute" tutorial is rather buggy. See:
#125: error: namespace ‘boost::filesystem’ not allowed in using-declaration