SAE11_2021/main.c

24 lines
538 B
C
Raw Normal View History

2022-11-22 15:55:00 +01:00
#include<stdio.h>
#include<stdlib.h>
#include<graph.h>
#include "images.h"
#include "menu.h"
#include "main.h"
#include "temps.h"
/*faire les includes des autres parties du programme*/
2022-11-22 15:55:00 +01:00
int main(void){
int temps;
int test=menu();
char tableautemps[50];
while(tirage_aleatoire()!=1){
temps=timer();
printf("%d",temps);
snprintf(tableautemps,50,"%d secondes écoulées",temps);
EcrireTexte(500,100,tableautemps,1);
}
tirage_aleatoire();
FermerGraphique();
return EXIT_SUCCESS;
2022-11-22 15:55:00 +01:00
}