tictactoe.cpp

When the user first runs the program, he/she will be prompt with 3 options

enter Y to go first,
enter N to go second,
enter Q to quit program.

If the user types in an invalid input, the options will be prompt again until the user puts in a valid input.  Once they put a valid input, they will play a game of tic-tac-toe with an unbeatable AI, once the game ends, it'll prompt back into the option screen to replay the game again or quit the program.

To run this program, the user must compile the program and then run it on the command line like this:

$: g++ tictactoe.cpp
$: ./a.out