I wish to know a input key info immediatly when it's being pushed.
When we want to know how key is pushed,We used to functions like getchar(), cin.get(), gets() ... and so on.
But, Those are needed to a input of the enter key.
But the windows programming in MFC have
WM_KEY_INPUT
WM_KEY_DOWN
...
I don't sure the message names of WM.
But I don't know how to control in console.
I've found some solution until now...
I found solution that is a interupt checking by dos.h.
But my linux system don't have dos.h.
And I didn't find out another info.
Do you have any solution?
If you have a idea please tell me :D
I'll wait your answers.