/* * "Hello world" program using ncurses library. * (from http://tldp.org/HOWTO/NCURSES-Programming-HOWTO/helloworld.html, * slightly modified). * * Functions are mostly from ncurses library. "man 3x foobar" to find out * what foobar() does. */ #include #include int main(void) { initscr(); printw("Hello World!\n"); printw("(press any key to end) "); refresh(); getch(); endwin(); return EXIT_SUCCESS; }