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 -

Socket.connect doesn't throw exception in Android -

iphone - How do I keep MDScrollView from truncating my row headers and making my cells look bad? -