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
This is the most I could find on the subject.. I am not familiar with the library. So, you'd be on your own with that.