You have to handle the different cases directly. For example, you read your character c, and then:
if it is \n, you move on the next player's turn;
if it is q or Q, you quit;
else, you...
Type: Posts; User: Kirilenko
You have to handle the different cases directly. For example, you read your character c, and then:
if it is \n, you move on the next player's turn;
if it is q or Q, you quit;
else, you...