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;