Bonjour à tous . J'ai un probléme lorsque jutilise un textcolor avant la fontion printf.



Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
gotoxy(20,33);
            textcolor(LIGHTRED);
            printf("\n         BienPlace=%d",BP);
            textcolor(LIGHTGRAY);
        gotoxy(20,34);
            printf("\n         MalPlace=%d\n",MP);




Lors de la compilation j'ai le message d'erreur suivant

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
Project   : Console application
Compiler  : GNU GCC Compiler (called directly)
Directory : J:\MASTERMIND_CodeBloc\
--------------------------------------------------------------------------------
Switching to target: default
Compiling: main.c
main.c: In function `main':
main.c:165: error: `LIGHTRED' undeclared (first use in this function)
main.c:165: error: (Each undeclared identifier is reported only once
main.c:165: error: for each function it appears in.)
main.c:167: error: `LIGHTGRAY' undeclared (first use in this function)
Process terminated with status 1 (0 minutes, 0 seconds)

Merci d'avance pour votre aide !