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

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

Are you using the correct headers?