Includendo curses.h mi da questo output il compilatore:
/tmp/ccJ34Zho.o(.text+0xe45): In function `text::setfocus()':
: undefined reference to `stdscr'
/tmp/ccJ34Zho.o(.text+0xe4a): In function `text::setfocus()':
: undefined reference to `wgetch'
collect2: ld returned 1 exit status
E una cosa simile (se non uguale), me la da includendi ncurses.h
Cosa sbaglio?