I\'m trying to start developing a program using ncurses on Linux. I can\'t even get the Hello World example to compile. Here\'s the code:
#include
Have you used the -lcurses option when linking?
-lcurses
Including the header files let the code compile (because the compiler knows what the function call looks like from the .h file), but the linker needs the library file to find the actual code to link into your program.
.h