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 -

CSS3 Transition to highlight new elements created in JQuery -