Ajout de l'interface graphique 21/11/2023
This commit is contained in:
16
main.c
Normal file
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;
|
||||
}
|
Reference in New Issue
Block a user