Nope, doesn't work. cin.ignore() only ignores input entered, it won't prevent output from displaying to the screen. I'm thinking that it's an issue between conio.h and iostream.h, that c++ doesn't like me playing with both at the same time (getch() is a conio.h function, while cin and cout are iostream.h functions)
But does anyone know a workaround or a function OTHER than getch() that will just get a keystroke from the keyboard WITHOUT it displaying to the screen?
|