Im new to C programming under Linux environment. Im trying to write a simple program that can test my keyboard. To do that, i wanna get a single character from stdin (when i press a button) and print it on the screen of the terminal, but without having to press an extra ENTER. I've used getc, getchar, getch (ncurses.h), but none of them working. Someone know the solution for my case? Any help will be appreciated. Thanks for reading my question.
Bookmarks