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()
{
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 */
initscr();
printw("Hello World !!!");
refresh();
getch();
endwin();
return 0;
}