This is a simple console tic tac toe game in C++ that uses a 2d array to represent the board. This is an example source code for Jumping Into C++ Chapter 10 Problem 4.
I put a link to the code in a website that can run it so you could try it out!
Link to Code
Enjoy!
For more C++ source codes, visit this link.