'import ncurses.h problem in Mac, C programming
Hi, this is my first post on stack overflow. I really need help on getting import <ncurses.h> to my vscode, but when I use getch()gives me this error. Please help me out.
Solution 1:[1]
If you're compiling with gcc, you have to add -lncurses flag at the end while compiling.
Example:
gcc yourfile.c -lncurses
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Saurav Pathak |
