curses programming

#include <ncurses.h>

int main()
{
initscr();/* Start curses mode        */
    printw("Hello World !!!");  /* Print Hello World          */
    refresh();          /* Print it on to the real screen */
    getch();            /* Wait for user input */
    endwin();           /* End curses mode        */

    return 0;
}
    • $ gcc -Wall test.c -lncurses
# yum install gcc
# yum install ncurses-devel