30 Novembre

This commit is contained in:
Adrian POURCHOT 2022-11-30 15:31:01 +01:00
parent 008ce05b82
commit 3a0e4b5192
3 changed files with 44 additions and 0 deletions

View File

@ -0,0 +1,12 @@
#include<stdlib.h>
#include<graph.h>
int main()
{
InitialiserGraphique();
CreerFenetre(10,10,500,500);
EcrireTexte(10,100,"Hello World !",2);
Touche();
FermerGraphique();
return EXIT_SUCCESS;
}

View File

@ -0,0 +1,16 @@
#include<stdlib.h>
#include<graph.h>
#include<stdio.h>
int main()
{
InitialiserGraphique();
CreerFenetre(10,10,480,270);
int touche;
while(!ToucheEnAttente){}
touche=Touche();
if(touche==0xff80){
FermerGraphique();
}
return EXIT_SUCCESS;
}

View File

@ -0,0 +1,16 @@
#include<stdlib.h>
#include<graph.h>
#include<stdio.h>
int main()
{
InitialiserGraphique();
CreerFenetre(10,10,480,270);
int touche;
while(!ToucheEnAttente){}
touche=Touche();
if(touche==0xff80){
FermerGraphique();
}
return EXIT_SUCCESS;
}