How do you set it up to actively wait for a key press, and then use that key press. Instead of user typing the letter and hitting enter. I just want them to hit the key. Not have to hit enter as well.
I tried
getch()=input;
switch(input)
{
case 'a':
blah blah
case 'b':
blah blah
}
but you still have to hit enter after typing the letter.
Also. how do you do the same thing as above except let them just hit enter to perform a function. I guess i'd need to know the value of the Enter key.
Thanx ahead of time,
Darkflame