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() }