"Jamie Vicary" <> wrote in message
news:cfdf02$dm4$...
> Dear all,
>
> Despite a good few hours of googling, I have been unable to find out
> what the standard C++ libraries are for handling directories and getting
> a list of the files inside them.
>
> I am using the mingw c++ compiler on a windows machine to write a
> console application. system("mkdir blah") calls aren't what I need
> because I need return values to check for things going wrong.
>
> It's the sort of thing that's easy if you know the answer, but
> impossible if you don't...
See
http://www.boost.org/libs/filesystem/doc/index.htm for a portable, and
IMHO, the best solution.
Jeff F