diff --git a/affichages.c b/affichages.c index 139054c..b8c47ca 100644 --- a/affichages.c +++ b/affichages.c @@ -1,4 +1,14 @@ -void AffRecap(){ +void AffRecap(void){ + + FILE *flot; + + flot = fopen("logs.txt","r"); + + if(flot == NULL) { + printf("ERR0R: FILE NOT VALID."); + return; + } + int refe, qt,poids, vol, prixU; int pdt=poids*qt, vt=vol*qt, pxt=prixU*qt, cagn;