Por que maldições no linux estão me dando erro?
Tentando obter getch () trabalhando para capturar a tecla pressionada.
#include <curses.h>
...
...
WINDOW *w;
char f;
w = initscr();
timeout(3000);
f = getch();
endwin();
está me dando o seguinte erro: -
undefined reference to `wgetch'
undefined reference to `stdscr'