OK, en cours de dev
This commit is contained in:
		
							
								
								
									
										15
									
								
								VANDAMME28.c
									
									
									
									
									
								
							
							
						
						
									
										15
									
								
								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()
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user