Guest User

Untitled

a guest
Jul 20th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. static void constructBoardSpaces(char** array,int rows,int cols)
  2. {
  3. int i=0,j=0;
  4. for (i = 0; i < rows; ++i)
  5. {
  6. for (j = 0; j < cols; ++j)
  7. {
  8. if((array[i][j])!='X'&&(array[i][j]!='O'))
  9. {
  10. array[i][j]=' ';
  11. }
  12. }
  13. }
  14. }
  15.  
  16. if((array[i][j])!='X'&&(array[i][j]!='O'))
Add Comment
Please, Sign In to add comment