Thanks for that Reply, but i had tested both merthods before i opened the new topic and both are ineffective.
You have to play with platform-specific code to set the terminal to unbuffered input. Google "msdn SetConsoleMode" for Windows.
I think they want to get the first character from input and ignore the rest, no?
char cEingabe = '\0';
std::cin >> cEingabe;
std::cout << "Your Choice was:" << cEingabe << std::endl << std::endl;
} while ('q' != cEingabe);
Last edited on
Yeah, thats what i am searching for. Thanks to you.
Oops! I should have read the first post more carefully. :-(