<p>How do you get a list of files within a directory so each can be processed?</p>

But
```
boost::filesystem
```
can do that:
http://www.boost.org/doc/libs/1_37_0/libs/filesystem/example/simple_ls.cpp