|
|
@ -155,37 +155,37 @@ typedef struct {
|
|
|
|
float noteDoss;//note après étude du dossier
|
|
|
|
float noteDoss;//note après étude du dossier
|
|
|
|
int nbchx;//nombre de choix
|
|
|
|
int nbchx;//nombre de choix
|
|
|
|
Listechx lchx;
|
|
|
|
Listechx lchx;
|
|
|
|
}Candidat2;
|
|
|
|
}Candidat;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
typedef struct Mailloncand2{
|
|
|
|
typedef struct Mailloncand{
|
|
|
|
Candidat2 cand;
|
|
|
|
Candidat cand;
|
|
|
|
struct Mailloncand2 * suivcand;
|
|
|
|
struct Mailloncand * suivcand;
|
|
|
|
}Mailloncand2;
|
|
|
|
}Mailloncand;
|
|
|
|
|
|
|
|
|
|
|
|
typedef Mailloncand2 * Listecand2;
|
|
|
|
typedef Mailloncand * Listecand;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Choix lireC(FILE *fe);//fonction extraite de la partie 2
|
|
|
|
Choix lireC(FILE *fe);//fonction extraite de la partie 2
|
|
|
|
Listechx InsertTC2(Listechx list, Choix m);//Insert en tête de la liste
|
|
|
|
Listechx InsertTC(Listechx list, Choix m);//Insert en tête de la liste
|
|
|
|
Listechx InsertC2(Listechx list, Choix m);//insert globalement dans liste de choix
|
|
|
|
Listechx InsertC(Listechx list, Choix m);//insert globalement dans liste de choix
|
|
|
|
Listecand2 InsertT2(Listecand2 list, Candidat2 c);//Insert en tête de la liste
|
|
|
|
Listecand InsertT(Listecand list, Candidat c);//Insert en tête de la liste
|
|
|
|
Listecand2 Insert2(Listecand2 list, Candidat2 c);//insert globalement
|
|
|
|
Listecand Insert(Listecand list, Candidat c);//insert globalement
|
|
|
|
Listecand2 InsertN2(Listecand2 list, Candidat2 c);//insert globalement en fonction de la note
|
|
|
|
Listecand InsertN(Listecand list, Candidat c);//insert globalement en fonction de la note
|
|
|
|
Listecand2 Chargementlistecandidat2(FILE *fe, Listecand2 lC, int *nbC);// fonction de chargement de la liste des candidats
|
|
|
|
Listecand Chargementlistecandidat(FILE *fe, Listecand lC, int *nbC);// fonction de chargement de la liste des candidats
|
|
|
|
Listecand2 AcceptedOrWait(Listecand2 lC, int *nbC, float noteMin);
|
|
|
|
Listecand AcceptedOrWait(Listecand lC, int *nbC, float noteMin);
|
|
|
|
void Save2(Listecand2 lC, int nbC);//fonction de sauvegarde globale
|
|
|
|
void Save(Listecand lC, int nbC);//fonction de sauvegarde globale
|
|
|
|
void saveC2(Listecand2 lC, FILE *fs);//sauvegarde un candidat
|
|
|
|
void saveC(Listecand lC, FILE *fs);//sauvegarde un candidat
|
|
|
|
void RespAdmin(void);//fonction dédiée au responsable d'admission
|
|
|
|
void RespAdmin(void);//fonction dédiée au responsable d'admission
|
|
|
|
void AffC2(Candidat2 c);
|
|
|
|
void AffC(Candidat c);
|
|
|
|
void AffCh2(Choix c);
|
|
|
|
void AffCh(Choix c);
|
|
|
|
void AffListeCandidat2(Listecand2 l);
|
|
|
|
void AffListeCandidat(Listecand l);
|
|
|
|
void AffListChoix(Listechx l);
|
|
|
|
void AffListChoix(Listechx l);
|
|
|
|
void MajDecJury(Listecand2 lC, int nbC, int nbAcc);//mise à jour de la décision du jury
|
|
|
|
void MajDecJury(Listecand lC, int nbC, int nbAcc);//mise à jour de la décision du jury
|
|
|
|
Listecand2 searchCand(Listecand2 lC, char *nom, char *prenom);//recherche d'un candidat par son nom et prénom
|
|
|
|
Listecand searchCand(Listecand lC, char *nom, char *prenom);//recherche d'un candidat par son nom et prénom
|
|
|
|
Listecand2 MajNote(Listecand2 lC, char *nom, char *prénom, float newNote);//mise à jour de la note de dossier du candidat
|
|
|
|
Listecand MajNote(Listecand lC, char *nom, char *prénom, float newNote);//mise à jour de la note de dossier du candidat
|
|
|
|
Listecand2 splitAccepted(Listecand2 origin);//fonction qui retourne la liste des admis
|
|
|
|
Listecand splitAccepted(Listecand origin);//fonction qui retourne la liste des admis
|
|
|
|
Listecand2 splitWait(Listecand2 origin);//fonction qui retourne la liste d'attente
|
|
|
|
Listecand splitWait(Listecand origin);//fonction qui retourne la liste d'attente
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|