hi every one
i got a problem in blinking text
i tried like this
main()
{
initscr();
move(5,10);
addstr("this is blink->");
addch('H' | A_BLINK);
refresh();
getch();
endwin();
}
an error came like this
[root@localhost 1]# cc r3.c
r3.c: In function �main':
r3.c:6: error: �A_BLINK' undeclared (first use in this function)
r3.c:6: error: (Each undeclared identifier is reported only once
r3.c:6: error: for each function it appears in.)
noway from this code
will u please show me the another best example.
ya. thank you for ur feedback
still got the problem showing in terminal
[root@localhost 1]# cc r3.c
/tmp/ccSkklIJ.o(.text+0x1d): In function `main':
r3.c: undefined reference to `initscr'
/tmp/ccSkklIJ.o(.text+0x22):r3.c: undefined reference to `stdscr'
/tmp/ccSkklIJ.o(.text+0x2f):r3.c: undefined reference to `wmove'
/tmp/ccSkklIJ.o(.text+0x37):r3.c: undefined reference to `stdscr'
/tmp/ccSkklIJ.o(.text+0x47):r3.c: undefined reference to `waddnstr'
/tmp/ccSkklIJ.o(.text+0x4f):r3.c: undefined reference to `stdscr'
/tmp/ccSkklIJ.o(.text+0x5d):r3.c: undefined reference to `waddch'
/tmp/ccSkklIJ.o(.text+0x65):r3.c: undefined reference to `stdscr'
/tmp/ccSkklIJ.o(.text+0x6e):r3.c: undefined reference to `wrefresh'
/tmp/ccSkklIJ.o(.text+0x76):r3.c: undefined reference to `stdscr'
/tmp/ccSkklIJ.o(.text+0x7f):r3.c: undefined reference to `wgetch'
/tmp/ccSkklIJ.o(.text+0x87):r3.c: undefined reference to `endwin'
collect2: ld returned 1 exit status