I'm coding an basic text-rpg and i need to limit an input to only one character. I've searched the web, and found some answers (such as setw) but none of those codes worked for me.. So how to set a limit for numbers of characters in a
"char" variable.