Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- static void constructBoardSpaces(char** array,int rows,int cols)
- {
- int i=0,j=0;
- for (i = 0; i < rows; ++i)
- {
- for (j = 0; j < cols; ++j)
- {
- if((array[i][j])!='X'&&(array[i][j]!='O'))
- {
- array[i][j]=' ';
- }
- }
- }
- }
- if((array[i][j])!='X'&&(array[i][j]!='O'))
Add Comment
Please, Sign In to add comment