Getch alternative...

I'm searching -with no success for the moment- in books & google to find a function or method to get strings from standard input (stdin) but without echo on the screen...

Something like getch() for Windows programmers (conio.h), but for GNU/Linux and as portable as possible.

Is it possible to do it using the operator ">>" between stream objects... ?

S.
I think the ncurses library has a portable one.

You can easily check it on google.
yes - ncurses works for GNU/Linux
Topic archived. No new replies allowed.