edit curses.h and look around about line 559, and 1017 or so. My copy of curses.h, however includes this:
/* these names conflict with STL */
#undef box
#undef clear
#undef erase
#undef move
#undef refresh
Which in theory should fix your issue. I guess you could do something like this at the top of your code:
should probably fix it, or even a simple
#undef erase. Anyway, let me know if it works, or if I'm crazy.
Reputation Points: 361
Solved Threads: 214
Taboo Programmer
Offline 2,413 posts
since Dec 2004