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....
Type: Posts; User: Chris.Brown.SPE
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....
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...