Create token.cpp

This is the description of what my program was required to do:

In C or C++, write a program accepting a single text filename as its only command line parameter.  This file may or may not be an input file for our new language.  Your program should lexically analyze this file reporting tokens and unrecognized characters on new lines of output as they are found.  When reporting a token, print the ALL CAPS token type from the list below followed by the found token's string beginning in column 15.  Unrecognized characters should be reported similarly using BAD_CHAR as a pseudo-token type and printing the unrecognized character in column 15.

On the last line of output, print the number of tokens.

The token definitions are...

INTEGER: sequence of digits
REAL: sequence of digits with a decimal point followed by more digits
EOC (End Of Command): period

Reserved words (RESERVED):
int, real, round, roundup, rounddown

IDENT: a letter followed by letters and digits

Operators (OPER): = + - * /
Open expression (OPEN_EXP): (
Close Expression (CLOSE_EXP: )

Comment to end of line: "//" followed by anything through the end of line.  Since comments are effectively whitespace, they do not affect your token count and shouldn't be reported

Whitespace: space, tab, carriage return, line feed... these do not affect your token count and shouldn't be reported