OK, en cours de dev

This commit is contained in:
Adrien VAN DAMME 2017-04-02 19:10:59 +02:00
parent a52ee5d95e
commit 3c0ea942f5
1 changed files with 4 additions and 11 deletions

View File

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