
Originally Posted by
J_Andrew
Have you tried using the console I/O function? i.e. getch()
If you mean ncurses-devel, yes. It gives this error.
Code:
#include <curses.h>
//int getch(void);
getch();
Code:
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: /tmp/ccMMPcLf.o: in function `Scan_Results_Filter':
scanvirus.c:(.text+0x538): undefined reference to `_nc_stdscr'
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: scanvirus.c:(.text+0x540): undefined reference to `wgetch'
collect2: error: ld returned 1 exit status