Created
January 12, 2016 20:23
-
-
Save Yutsa/f6a5b28c2b5c70cd7c7f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fichier = fopen("clients.bin", "rb"); | |
rep_clients curr_rep; | |
while (fread(&curr_rep, sizeof(curr_rep), 1, fichier) == 1) | |
{ | |
if (strcmp(nom, curr_rep.nom) == 0 && strcmp(prenom, curr_rep.prenom) == 0) | |
{ | |
display_client(curr_rep); | |
} | |
} | |
fclose(fichier); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment