about curses programming?



hello:
it 's not gtk problem.
anyone know Curses programming? how to create Makefile,how to make?
like the following code how to do?

	/* File: helloworld.c */

	#include <curses.h>

	int main(int argc, char *argv[])
	{

		initscr();

		
		box(stdscr, ACS_VLINE, ACS_HLINE);

	
		mvaddstr(11, 30, "Hello World!");

		refresh();

		getch();

		endwin();

		return 0;
	}

Thanks for you help.
kason



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]