C++ ignore enter key when pressed. | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grátis
+ 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 Resposta
+ 1
cin.ignore()
8th Oct 2020, 6:03 AM
Anthony Maina
Anthony Maina - avatar