repo.or.cz
/
arrow.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
add ncurses test app
[arrow.git]
/
ncurses
/
test.c
blob
de1a347aab6372a3966187fc9c8118c877670ea5
1
/* copyleft (C) GPL3 {{{2
2
* Filename: test.c
3
*
4
* Author: arrow <arrow_zhang@sdc.sercomm.com>
5
* Created at: Tue Jan 8 20:11:08 2008
6
* }}}*/
7
/*header files {{{1*/
8
#include <ncurses.h>
9
#include
"debug.h"
10
/*}}}*/
11
12
/*declaration {{{1*/
13
/*}}}*/
14
15
/*functions {{{1*/
16
int
main
(
int
argc
,
char
*
argv
[])
17
{
18
initscr
();
19
printw
(
"Hello world!!!"
);
20
refresh
();
21
getch
();
22
endwin
();
23
24
return
0
;
25
}
26
27
/* vim:fdm=marker:ts=8:ft=c:norl:fdl=1:
28
* }}}*/
29