Is there a really effective way of dealing with command line parameters in C++?
What I\'m doing below feels completely amateurish, and I can\'t imagine this is how comma
I would recommend always using boost lexical_cast<> in place of junk like atoi, atof, etc.
lexical_cast<>
atoi
atof
http://www.boost.org/doc/libs/release/libs/conversion/lexical_cast.htm
Other than that your code okay for simple stuff.