I know that to make a simple yes or no question I can do this:
int Answer;
cin >> Answer;
if (Answer == 1)
{
Response
}
else
{
Response
}
But in the accounting program (In a recent thread), it registered the key before you hit enter.
What code do you have to add/change to make this program to respond instantly after you give a certain input? (pushing 1 and getting the response without having to hit "enter"