How do you get a list of files within a directory so each can be processed?
But boost::filesystem can do that: http://www.boost.org/doc/libs/1_37_0/libs/filesystem/example/simple_ls.cpp
boost::filesystem