Write a new program called paginate.cc. It should work like this:
Usage: paginate file [...]
Required command line parsing: The options may be given in any order, but
must all precede the file(s) to be printed. Parsing the argument should simply
deposit the associated value in an appropriate variable that was previously
initialized to the program's defaults, specified below. Be careful not to read past
the end of argv[] even when the user enters a bogus command, like "paginate --
lines-per-page" (with no further arguments).
--I'm pretty sure my professor wants me to read in those arguments and separate the integer before lines-per-page//columns-per-page//tabstop and then based upon the string following the int, assign the int to the appropriate variable.
My question is how would i separate the string and the integer the user puts into argv, I'm sure ill have more problems as i get further into the program as well