Linux Errors:
Under Linux environment, some errors have been found:
term.h: No such file or directory and curses.h: No such file or directory
Solution:
we need ncurses lib. type command in your Linux( Suppose Linux is Ubuntu ):[1]
1 | sudo apt-get install libncurses5-dev |
After the above command is run correctly, then you can compile and link your c(cpp) source code(for example, a.c) by using ncurses Lib:
1 | gcc -o a.out a.c -lncurses |
It's noticed that you should not forget typing "-lncurses".