Yeah, I have the user enter input before that line. And cin.ignore works, but I was wondering what you mean by saying I have a /newline in the input buffer.
Thanks. :D
Type: Posts; User: Fallout
Yeah, I have the user enter input before that line. And cin.ignore works, but I was wondering what you mean by saying I have a /newline in the input buffer.
Thanks. :D
void set_characterNameAgeSex()
{
char setName[ 50 ];
char *sTransfer;
short setSex;
short setAge;
// set name
cout << "Enter a name for your character(50 char. max): ";
cin.getline(...