+ 1

C++ ignore enter key when pressed.

Is there any way to ignore the enter key when it’s pressed by the user?

8th Oct 2020, 12:11 AM
Remender
1 Respuesta
+ 1
cin.ignore()
8th Oct 2020, 6:03 AM
Anthony Maina
Anthony Maina - avatar