Friday, July 16, 2010


I thought the standard library of gcc compiler doesnt support function getch(); like the conio.h provides.That means the standard library dont have conio.h headerfile.
so i was thinking to make a new function called getch();.
But later i found out that getch() is provided ncurses dont can also include getch(); function into your c program by using ncurses.h headerfile.
i hope you know how to compile a ncurses included c file.

$gcc -g program.c -lncurses

No comments:

Post a Comment

new hitcounter