From 174e87ba5c09e321bdd0296266202578764c32e2 Mon Sep 17 00:00:00 2001 From: Mathis CHIRAT Date: Tue, 17 Oct 2023 10:18:36 +0200 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'affichages.c'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- affichages.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) 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;