//****************************************************MAIN.CPP #include "stdafx.h" #include "declare.h" int main() { int board[9]; int *pBoard = &board[0]; Init(pBoard); Print(pBoard); int check = 0; //checking if there is any winner cout<<"pls, choose between you who is the x anad who is the 0"<>checkNum; if(board[checkNum-1] != 0) { cout<<"Error,pls enter other location"<0) board[numBox-1] = 1; else { cout<<"error"<>checkNum; if(board[checkNum-1] != 0) { cout<<"Error,pls enter other location"<0) board[numBox-1] = 2; else { cout<<"Error"< using namespace std; //functions void Init(int *arr); void Print(int *arr); int CheckWinnerX(int *arr); int CheckWinner0(int *arr); #endif