Ajout de l'interface graphique 21/11/2023

This commit is contained in:
Vincent TEISSIER 2023-11-21 16:45:49 +01:00
parent 659b3f17e1
commit 74c5f9d97e
2 changed files with 16 additions and 0 deletions

16
main.c Normal file

@ -0,0 +1,16 @@
#include<stdlib.h>
#include<graph.h>
int main()
{
couleur c;
InitialiserGraphique();
CreerFenetre(10,10,720,480);
EcrireTexte(10,100,"Hello World !",2);
c=CouleurParNom("lightgreen");
ChoisirCouleurDessin(c);
RemplirRectangle(0,0,600,400);
Touche();
FermerGraphique();
return EXIT_SUCCESS;
}

BIN
prog Executable file

Binary file not shown.