about ncurses.h
Posted: Fri Mar 18, 2016 5:05 am
Guys, Im very new in Rasp and C, My program use ncurses.h but it seem cant use getch();
errors undefind refrence to wgetch and stdscrt . I dont know why?
any suggestion for me!!!!!!! thanks alot alot alot alot.
Code: Select all
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <wiringPi.h>
#include <wiringSerial.h>
#include <ncurses.h>
#include <stdint.h>
int main() {
int key;
for(;;)
{
key = getch();
}
}
any suggestion for me!!!!!!! thanks alot alot alot alot.