Skip to content
c++ get input without enter
Profile icon
AdobeZev

I am trying to get a keystroke but both cin and getline() aren't working.
I've tried getch() with #include<curses.h> but that also doesn't work (Or at least I don't understand it) Could someone help me?

You are viewing a single comment. View All
Profile icon
Highwayman

Please send the code, we can probably show you what’s wrong.

Profile icon
AdobeZev