[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
First steps with ncurses
From: |
TheLonelyStar |
Subject: |
First steps with ncurses |
Date: |
Wed, 18 Feb 2009 15:47:27 -0800 (PST) |
Hi,
I did a little test program, to try my ncurses skills :). I wanted to create
a little test window. But when I start it, I can not see anything. I don't
get it, what is wrong?
Thanks!
Nathan
The source:
#include <ncurses.h>
int main()
{
WINDOW* w;
initscr();
w = newwin(10,10,10,10);
box(w,0,0);
wprintw(w,"Hello World");
wrefresh(w);
refresh();
getch();
endwin();
}
--
View this message in context:
http://www.nabble.com/First-steps-with-ncurses-tp22091081p22091081.html
Sent from the Gnu - Ncurses mailing list archive at Nabble.com.
- First steps with ncurses,
TheLonelyStar <=