azko
07-29-2004, 11:05 AM
Hi
This summer I was so bored that I decided to give a try to Linux c programming and I'm finding some things a little bit hard (surely because I used to program in DOS before). Well, the thing is that I want to get a character on the terminal but without it being printed, like the getche() function did under DOS. I have tried everything and this function seems to be missing in Linux. I also have found that ncurses gives a chance for that, but I want to know if there is a way to simulate getche() without using that library.
thanks
azko[/img]
This summer I was so bored that I decided to give a try to Linux c programming and I'm finding some things a little bit hard (surely because I used to program in DOS before). Well, the thing is that I want to get a character on the terminal but without it being printed, like the getche() function did under DOS. I have tried everything and this function seems to be missing in Linux. I also have found that ncurses gives a chance for that, but I want to know if there is a way to simulate getche() without using that library.
thanks
azko[/img]