From b6f9db3a1da7fc2774a8e79ce7934dd3cab40485 Mon Sep 17 00:00:00 2001 From: Balentins Date: Wed, 14 Dec 2016 15:44:20 +0100 Subject: [PATCH] final --- dynamique/heure.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/dynamique/heure.c b/dynamique/heure.c index c69feff..f660b42 100644 --- a/dynamique/heure.c +++ b/dynamique/heure.c @@ -1,7 +1,8 @@ #include #include #include -#include //permet la fonction ouverture +//#include //permet la fonction ouverture +#include /*initialiser la fct afficherTableau avec comme argument tableau2 qui correspond au tableau qui va etre centré*/ void afficherTableauH1(int* tableau2); @@ -10,6 +11,8 @@ void afficherTableauM1(int* tableau2); void afficherTableauM2(int* tableau2); void afficherTableauS1(int* tableau2); void afficherTableauS2(int* tableau2); +void lirefichier(void); +void mettredstbl(void); FILE* ouverture(int temps); @@ -62,12 +65,19 @@ while(1) afficherTableauM2(tableau2); afficherTableauS1(tableau2); afficherTableauS2(tableau2); + + mettredstbl(); + + lirefichier(); + + system("sleep 3"); system ("clear"); } +fclose(tbl245); free(tableau2); return 0;