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?
(without pressing enter)@TheFlooBearer
c++ get input without enter
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?
(without pressing enter)@TheFlooBearer