How can I implement getch() function like in conio.h or ncurses

45 Views Asked by At

I am new in C programming, but already have written few projects with it. Once I was playing with dosbox and Borland C++. I found, that in conio.h exists getch() function to get keyboard input without echoing. And I disappointed, that I have no something like this on Linux. Only ncurses getch(). So now I am trying to figure out, how can I implement getch() function (like in ncurses or conio.h) myself.

Thank you in advance!

0

There are 0 best solutions below