From 0e5b3f2cd7d2cc38ac51245318af5a1fecdd273f Mon Sep 17 00:00:00 2001 From: orfao Date: Fri, 1 Dec 2023 15:57:21 +0100 Subject: [PATCH] maj --- grille.c/grille.c | 35 ----------------------------------- 1 file changed, 35 deletions(-) delete mode 100644 grille.c/grille.c diff --git a/grille.c/grille.c b/grille.c/grille.c deleted file mode 100644 index 967c6c6..0000000 --- a/grille.c/grille.c +++ /dev/null @@ -1,35 +0,0 @@ -#include -#include -#include - -int* creer_grille(void){ - int* Grille=NULL; - Grille=(int*) malloc(40*60*sizeof(int)); - return Grille; -} - -void creer_grille_graph(){ - int x=200,y=200; - ChoisirCouleurDessin(CouleurParComposante(0,0,0)); - DessinerRectangle(x,y,1200,1000) - DessinerRectangle(x,y,900,600); - for(x=200;x<1100;x=x+15){ - DessinerSegment(x,y,x,800); - } - x=200; - y=200; - for(y=200;y<800;y=y+15){ - DessinerSegment(x,y,1100,y); - } - -} - -int main(void){ - char x; - InitialiserGraphique(); - CreerFenetre(0,0,1300,1300); - creer_grille_graph(); - while(x != 'q'){ - scanf("%c",&x); - } -} \ No newline at end of file