key - How to implement "press to enter"in c++ -
any idea on how implement "press key move on" in c++?
based on understanding, input stream function, requires users hit "enter" read.
but how make “whenever key being hit, moves on next stage without hitting enter key?"
by way, working station linux
thanks lot
this not possible in standard c++, since os specific. on linux can use curses , getch in loop until character. or can use "press enter continue"
Comments
Post a Comment