private:
char board[3][3]; // two dimensional array stores current board configuration
};
tictactoeGame::tictactoeGame
{
// set boardConfig[i][j] to be ' ' (the space character) for each i,j from 0 to 2
}
yesamin
0
Newbie Poster
daviddoria
334
Posting Virtuoso
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.