Using the commandline class

Most programs take command line options in the option/value pair format:

program -option value -option value ...

or

program --option=value --option=value ...

The commandline class makes it easy to deal with command line options of either of these formats. Below is some code illustrating the use of the commandline class.

int main(int argc, const char **argv) {
}