I am creating a simple Tic Tac Toe for C, and here is a particular function which I am having a problem with. This is supposed to let the user select \'X\' or \'O\', and fo
The problem cause is related to the newline charachter
use scanf() in this way instead of using getchar()
scanf()
getchar()
scanf(" %c", &user);