PdCurses box problem
Hello. I just installed PdCurses and I want to compile my code. In begining I wrote this:
1 2 3 4 5 6 7
|
#define __cplusplus
#undef box
#undef clear
#undef erase
#undef move
#undef refresh
#undef stdscr
|
And everything seems to be fine but I'm getting error:
D:\Program Files\CodeBlocks\mingw32\i686-w64-mingw32\include\pdcurses.lib(border.obj):z:\PDCurses\pdcurs|| multiple definition of `box'| |
In line
If someone can help it will be awesome.
EDIT.
Okay, I solved it. Problem was in variable name. It can't be "box". :P
Last edited on
Topic archived. No new replies allowed.