OK, en cours de dev
This commit is contained in:
parent
a52ee5d95e
commit
3c0ea942f5
15
VANDAMME28.c
15
VANDAMME28.c
|
@ -595,7 +595,7 @@ Bool gestionClient(Client * client, Date * date)
|
||||||
printf("E. Quitter");
|
printf("E. Quitter");
|
||||||
clean_keyboard();scanf("%c", &choix);
|
clean_keyboard();scanf("%c", &choix);
|
||||||
choix |= 0b00100000;
|
choix |= 0b00100000;
|
||||||
}while(!(choix == 'a' || choix == 'b' || choix == 'c' || choix == 'd'));
|
}while(!(choix == 'a' || choix == 'b' || choix == 'c' || choix == 'd' || choix == 'e'));
|
||||||
switch (choix) {
|
switch (choix) {
|
||||||
case 'a':
|
case 'a':
|
||||||
afficherClient(client, date);
|
afficherClient(client, date);
|
||||||
|
@ -689,17 +689,10 @@ int compNP(char nom1[__STRLEN__], char prenom1[__STRLEN__],char nom2[__STRLEN__]
|
||||||
return renvois;
|
return renvois;
|
||||||
}
|
}
|
||||||
|
|
||||||
void clientBinToTXT(FILE *, FILE*)
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
void clientBinToTXT(FILE * bin, FILE* txt)
|
void clientBinToTXT(FILE * bin, FILE* txt)
|
||||||
{
|
{
|
||||||
fseek(bin, 0, SEEK_SET);fseek(txt, 0, SEEK_SET);
|
fseek(bin, 0, SEEK_SET);fseek(txt, 0, SEEK_SET);
|
||||||
fseek(bin, sizeof(unsigned long int));
|
fseek(bin, sizeof(unsigned long int), SEEK_CUR);
|
||||||
fseek(bin, sizeof(Bool));
|
fseek(bin, sizeof(Bool), SEEK_CUR);
|
||||||
fread()
|
// fread()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue