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"

http://linux.die.net/man/3/getch


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

javascript - jQuery .height() return 0 when visible but non-0 when hidden -