Hello,
I need help concerning <curses.h> and <conio.h> libraries issues. There's a conflit between both libraries when I compile my software in Dev-C++ (XP OS).
1. In <curses.h> there's this code line:
.
.
.
extern int COLORS,COLOR_PAIRS;
.
.
.
2. In <conio.h> there's this code line:
.
.
.
typedef enum
{
BLACK,
BLUE,
.
.
.
YELLOW,
WHITE
} COLORS;
.
.
.
3. When I compile my software there are the following errors messages:
curses.h --> 'int COLORS' redeclared as diferent kind of symbol
conio.h --> previous declaration of 'typedef enum COLORS COLORS'
curses.h --> declaration of 'int COLORS'
conio.h --> conflicts with previous declaration 'typedef enum COLORS COLORS'
Please, how can I solve this conflit? Any good idea?
Thankx in advance.
jmangu