LDP/LDP/howto/docbook/NCURSES-Programming-HOWTO/resources/ncurses_programs/basics/hello_world.c

13 lines
286 B
C

#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;
}