Return to Snippet

Revision: 17316
at August 31, 2009 22:16 by mustam


Initial Code
#include<stdio.h>
#include<curses.h>
#include<sys/time.h>

int main()
{
	initscr();
	printw("Hello, World!\nWait 3 sec...");
	refresh();
	sleep(3);
	endwin();

	return 0;
}

Initial URL

                                

Initial Description
<pre><code>$ gcc foo.c -lcurses
$ ./a.out</pre><code>

Initial Title
Hello World @ ncurses(TUI Library)

Initial Tags

                                

Initial Language
C