A voir également:
- L graphisme en langage c,comment ca marche?
- Langage ascii - Guide
- Langage binaire - Guide
- Pascal langage - Télécharger - Édition & Programmation
- Langage visual basic - Télécharger - Langages
- Langage basic gratuit - Télécharger - Édition & Programmation
voici la solution
int Initialize (void)
{
int GraphDriver=DETECT;
int ErrorCode;
int GraphMode=0;
initgraph(&GraphDriver,&GraphMode,"c:\\tc\\bgi");
ErrorCode=graphresult();
if(ErrorCode!=grOk)
{
printf("Erreur de systeme graphique:%s\n",grapherrormsg(ErrorCode));
return(1);
}
return(0);
}
c'est le passage en mode graphique ... et pour le reste c'est tres facile :p