Ajout de l'interface graphique 21/11/2023
This commit is contained in:
parent
659b3f17e1
commit
74c5f9d97e
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;
|
||||||
|
}
|
BIN
prog
Executable file
BIN
prog
Executable file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user