How do I take values from text file and input into a 2D array? c++
Between item 2 and 3 you have to init your board (so you can later check if the place is marked or not for (int i = 0; i < boardsize; i++) for (int j = 0; j < boardsize; j++) Board[i][j] = ‘ ‘; Your while loop should look like this (actual error printing … Read more