Re: [OT] where is conio.h with getch()?
2008/1/19, Hugo Vanwoerkom <hvw59601@care2.com>:
> Hi,
>
> In looking around after Kent's question on key presses I found getch()
> and putch() and the manual (from 1986) says that they are in conio.h.
>
> But that's no longer around.
>
> That means getch() and putch() have gone away? In favor of what?
Hello,
as I know, conio.h does not belong to the C standard library. So you
cannot compile a program with it in GNU/Linux or other flavor of Unix.
Take a look to ncurses [1],
[1] http://www.gnu.org/software/ncurses/
Best regards,
Sergio Cuellar
--
"Meine Hoffnung soll mich leiten
Durch die Tage ohne Dich
Und die Liebe soll mich tragen
Wenn der Schmerz die Hoffnung bricht"
Reply to: