When the user presses 4 to enter this section the number 4 is outputed, so the user has to press backspace before entering their input. I want it so there is nothing there.Code:if(keydown(VK_NUMPAD4)) { while(keydown(VK_NUMPAD4)) Sleep(1); cout << "set scroll number: "; cin >> scroll_num; return; }
The user sees somthing like this when pressing 4....
set scroll number: 4
when it should be...
set scroll number: