|
|
@ -23,8 +23,6 @@ Candidat* creerCandidat(void) {
|
|
|
|
exit(errno);
|
|
|
|
exit(errno);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
//candidat->listeCandidatures = (ListeCandidatures) malloc(0);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return candidat;
|
|
|
|
return candidat;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -143,6 +141,8 @@ void afficherListeCandidats(ListeCandidats liste, int nbCandidats) {
|
|
|
|
|
|
|
|
|
|
|
|
afficherCandidat(candidat);
|
|
|
|
afficherCandidat(candidat);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
free(liste2);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void afficherCandidat(Candidat* candidat) {
|
|
|
|
void afficherCandidat(Candidat* candidat) {
|
|
|
|