afaik, cout doesn't have an operator<< overload for multi dimension arrays. You need to make your own loop to output it.
something like this will accomplish what I believe you're trying to do.
for(int x = 0; x < 3; ++x)
for(int y = 0; i < 3; ++y)
cout << Game_Board[y][x];
cout << endl;
Last edited on
i didn't modify the code already but it seems that it is the GameBoard i want, i want a GameBoard with numbers to make the game simple to create and play. How do i make a array to output:
1 2 3
4 5 6
7 8 9
Then how i tell the program that the Computer_Play have to be diferent than Player_Play?