Here is a game program where you can play Tic-Tac-Toe. The top left hand corner is the cordinate 1 1. The bottom right hand corner is 3 3. If any other number is used then the program will quit by itself..so only use #'s between 1-3. Have fun.
Want to Download the Program?
This is the Code for The Program.
#include
#include
#include "apmatrix.h"
int main( void )
{
bool win=false;
apmatrix XO(3,3,' ');
int x,y;
char play;
do{
for ( int z=0;z<9&&win==false;z++)
{
{
cout<>x>>y;
cout<