Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren+ 1
C++ ignore enter key when pressed.
Is there any way to ignore the enter key when it’s pressed by the user?
1 Antwort
+ 1
cin.ignore()
Is there any way to ignore the enter key when it’s pressed by the user?