Well, since I already recommended Boost in this thread, saying that it has an amazing amount of things ...
http://www.boost.org/doc/html/program_options.html