bonjour tous le monde
voila mon code :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
 
#include<graphics.h>
char c;
main()
{
      int graphdriver;
      int graphmode;
      int triangle[8];
      graphdriver=0;
      graphmode=9;
      initgraph(&graphdriver,&graphmode,"");
      cleardevice();
      outtextxy(250,5,"presentation graphique avec le language c");
      circle(85,100,70);
      c=getch();
      closegraphe();
      }
11 C:\Documents and Settings\mustafa\Bureau\gra.cpp `initgraph' undeclared (first use this function)
(Each undeclared identifier is reported only once for each function it appears in.)
12 C:\Documents and Settings\mustafa\Bureau\gra.cpp `cleardevice' undeclared (first use this function)
13 C:\Documents and Settings\mustafa\Bureau\gra.cpp `outtextxy' undeclared (first use this function)
14 C:\Documents and Settings\mustafa\Bureau\gra.cpp `circle' undeclared (first use this function)
15 C:\Documents and Settings\mustafa\Bureau\gra.cpp `getch' undeclared (first use this function)
16 C:\Documents and Settings\mustafa\Bureau\gra.cpp `closegraphe' undeclared (first use this function)
ou est le probleme ? comme information ( j'ai pas le fichier headers graphics.h dans le dossier include ) (c'est ça le probleme ?) est ce que je peu l'importer d'une notre source ?
merci