Jul 26, 2008 at 10:30am UTC
Thats my code src so far and well im getting a bit confused. I have globally defined the XOboard and well i think ive made the clear board function but im confused about the rest how I do it and what i use.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
#include <iostream>
#include <conio.h>
using namespace std;
void Input();
void ClearBoard();
void Process();
char XOBoard[2][2] = {};
int main(){
}
void Input(){
cout << "Please enter the x coordinate..." ;
cin >> x;
cout << "Please enter the y coordinate..." ;
cin >> y;
}
void Process(){
}
void ClearBoard(){
for (int x = 0; x<2; x++){
for (int y = 0; y<2; y++){
cout << XOBoard[x][y] << " " ;
}
cout << endl;
}
}
Last edited on Jul 26, 2008 at 10:32am UTC
Jul 26, 2008 at 11:24am UTC
Okay, so what do you want from us?
Jul 26, 2008 at 12:05pm UTC
To tell me what I need like what functions what goes in the functions, etc.
Jul 26, 2008 at 12:23pm UTC
The board should be 3X3, not 2X2
Jul 26, 2008 at 1:06pm UTC
Oh i thought using arrays it made the 0,1,2. Hmmm my bad ill make 3,3.
Anything else?
Jul 26, 2008 at 2:37pm UTC
wow thats way to confusing.....