Search:

Type: Posts; User: Chris.Brown.SPE

Search: Search took 0.13 seconds.

  1. Replies
    6
    Views
    2,428

    Re: Tic-Tac-Toe Invalid Moves

    When you create your board which is a char[][], each element is empty which causes problems. To initialize the array, write a function that goes through each element and sets it to your EMPTY value....
  2. Replies
    6
    Views
    2,428

    Re: Tic-Tac-Toe Invalid Moves

    You never initialize values into your character array so when you check board[0][0] != ' ' of course it is going to be true. You need to initialize your array with blank values if that is the way you...
Results 1 to 2 of 2