I am new to C++ and I like Devc++, but I am tired of everytime, in my programs, I ask for input from the keyboard with getch() the next time I ask for input with 'cin >>', I have to backspace to delete the input from the getch(). Anyone have a solution?
I have tried 'fflush(stdin)' it doesn't work.
HELPPPPPPP!!!!!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am new to C++ and I like Devc++, but I am tired of everytime, in my programs, I ask for input from the keyboard with getch() the next time I ask for input with 'cin >>', I have to backspace to delete the input from the getch(). Anyone have a solution?
I have tried 'fflush(stdin)' it doesn't work.
HELPPPPPPP!!!!!