From 3c0ea942f54f8f0c210493e6b445073becf01a67 Mon Sep 17 00:00:00 2001 From: Adrien VAN DAMME Date: Sun, 2 Apr 2017 19:10:59 +0200 Subject: [PATCH] OK, en cours de dev --- VANDAMME28.c | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/VANDAMME28.c b/VANDAMME28.c index 946d8e6..0c8b1ca 100644 --- a/VANDAMME28.c +++ b/VANDAMME28.c @@ -595,7 +595,7 @@ Bool gestionClient(Client * client, Date * date) printf("E. Quitter"); clean_keyboard();scanf("%c", &choix); choix |= 0b00100000; - }while(!(choix == 'a' || choix == 'b' || choix == 'c' || choix == 'd')); + }while(!(choix == 'a' || choix == 'b' || choix == 'c' || choix == 'd' || choix == 'e')); switch (choix) { case 'a': afficherClient(client, date); @@ -689,17 +689,10 @@ int compNP(char nom1[__STRLEN__], char prenom1[__STRLEN__],char nom2[__STRLEN__] return renvois; } -void clientBinToTXT(FILE *, FILE*) -{ - -} - - - void clientBinToTXT(FILE * bin, FILE* txt) { fseek(bin, 0, SEEK_SET);fseek(txt, 0, SEEK_SET); - fseek(bin, sizeof(unsigned long int)); - fseek(bin, sizeof(Bool)); - fread() + fseek(bin, sizeof(unsigned long int), SEEK_CUR); + fseek(bin, sizeof(Bool), SEEK_CUR); +// fread() }