Recognizing up arrow key in C programs
Hello
I am using gcc 4.3.2 i was wondering how i would realize an up/down/left/right arrow key press in realtime during execution of my C program in the terminal. Also, if it would be possible to realize the key stroke without emptying the input buffer using a /n or something of the sort. Thanks |
Quote:
|
Or use the ncurses library.
See this thread for some links: http://www.linuxquestions.org/questi...t-keys-745498/ |
thanks... the link was really helpful :)
|
All times are GMT -5. The time now is 09:40 AM. |