C++ ignore enter key when pressed. | Sololearn: Learn to code for FREE!

+1

C++ ignore enter key when pressed.

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

10/8/2020 12:11:54 AM

Remender

1 Answer

New Answer

+1

cin.ignore()