[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: getch() in linux?

Anand D Sankruthi wrote:
> can anyone tell me a function in linux which works similar to getch() in
> dos, i.e., it should take in one character at a time, without waiting for a

hav u tried "getc" from <stdio.h>! i vaguely remember a warning which
said "it may b a macro which evaluates the file stream twice". do chek
out "info getc".

> i found one in <curses.h>, but am not able to figure out how to use it??

u dint give its name?