cin.getchar() does not exist, at least in what I'm using. cin.get() does, and I tried messing around with that, and it works fine, except that you need to hit 'enter' at the end, which kills the point for me. I want it to be able to accept the letter immediately, without having to hit enter. I'm not sure what cin (scanf) is, cin.scanf (or any scan) isn't recognized by the compiler I'm using. Thanks for the info on cin.get(), I'm gonna keep messing with that and see what happens.
EDIT: You know what? If anyone knows how to simulate the keystroke 'backspace' or the left arrow key, it would work just as well. Please?
Last edited by TheFrogel; 03-11-2005 at 08:14 PM..
|