V
voidstar
Hi, I have the following problem:
I use "getch" to monitor keypresses and the I use "cin" to input a
string.
When I type in 'y', the 'y' character appears, so I need to hit backspace
before typing the string.
c = getch();
cin >> str;
Please help me!
Thanks in advance
voidstar
I use "getch" to monitor keypresses and the I use "cin" to input a
string.
When I type in 'y', the 'y' character appears, so I need to hit backspace
before typing the string.
c = getch();
cin >> str;
Please help me!
Thanks in advance
voidstar