On the Linux platform, I get compile errors for using a function named CURSES. If I change the name to something else such as “my_curses” there are no more errors.
I understand there is a curses.h but I’m not aware of any functions named CURSES. Is there a function that already exists called CURSES in the standard or built in libraries?
PROTOTYPE:
void CURSES(int x)
ERROR:
“error: syntax error before numeric constant”
Then in the function declaration I get a bunch of similar errors along with a bunch of errors with “conflicting types”.
CURSES is probably a define. So your options are:
Edit: A simple grep on my includes told me that both curses.h and ncurses.h have this line