On 09/08/2011 11:22 PM, keerthi kiranmayee wrote:
> I'm using getchar() in qt-creator on linux.Its going to an infinte loop.Could
> someone please help me,how i can use getchar() in qt-creator ?
>
> Actually i'm supposed to use getch(),but since getch() is not available in
> linux.I had to use getchar(). It would great , if anyone could suggest me how 
> i
> can use getch() in linux ?

getch() is in the curses library.  On Linux, that usually means using 
the ncurses library:

http://tldp.org/HOWTO/NCURSES-Programming-HOWTO/
_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt-creator

Reply via email to