working through Hello World

This commit is contained in:
Dan Buch 2009-11-18 19:41:30 -05:00
parent b1f1195c3d
commit b45b438a4f

View File

@ -2,11 +2,11 @@
int main() int main()
{ {
initscr(); /* Start curses mode */ initscr();
printw("Hello World !!!"); /* Print Hello World */ printw("Hello World !!!");
refresh(); /* Print it on to the real screen */ refresh();
getch(); /* Wait for user input */ getch();
endwin(); /* End curses mode */ endwin();
return 0; return 0;
} }