|
|
|
@ -23,6 +23,7 @@ typedef struct liste1{
|
|
|
|
|
char nom[50];
|
|
|
|
|
char prenom[50];
|
|
|
|
|
note note;
|
|
|
|
|
float moy;
|
|
|
|
|
int nb_choix;
|
|
|
|
|
ListeC lchoix;
|
|
|
|
|
struct liste1 *suivant;
|
|
|
|
@ -65,8 +66,10 @@ typedef enum {faux,vrai}Booleen;
|
|
|
|
|
void MenuCandidat(Candidat *tcandidat[],VilleIUT *tiut[],int nc);
|
|
|
|
|
void afficheCandidat(Candidat *tcandidat[], int i);
|
|
|
|
|
int rechercheCandidatParDeaprtement(ListeC ld,char *departement, int nc);
|
|
|
|
|
//recherche
|
|
|
|
|
//MaillonDept recherche (MaillonDept *Ville,char *departement,char *responsable);
|
|
|
|
|
int rechercheCandidatParVille(ListeC ld, char *departement ,char *Ville, int nc);
|
|
|
|
|
|
|
|
|
|
//Menu Responsable
|
|
|
|
|
void MenuRespon(Candidat *tcandidat[], VilleIUT *tiut[], int n,int nc);
|
|
|
|
|
|
|
|
|
|
//Liste:
|
|
|
|
|
VilleIUT Initialisation(void);
|
|
|
|
@ -83,13 +86,13 @@ typedef enum {faux,vrai}Booleen;
|
|
|
|
|
void affichage (VilleIUT *tiut[],int n);
|
|
|
|
|
void affichageListe(ListeD ld);
|
|
|
|
|
|
|
|
|
|
// fonction de sauvegarde
|
|
|
|
|
int fsauvegarde(VilleIUT *tiut[], Candidat *tcandidat[], int n, int nc, int choix, int tmax);
|
|
|
|
|
//Candidat+choix
|
|
|
|
|
int chargementcandidat(Candidat *tcandidat[],int tmax);
|
|
|
|
|
Candidat lireCandidat(FILE *fe1, int *nbChoix);
|
|
|
|
|
Choix lireChoix(FILE *fe1);
|
|
|
|
|
ListeC InsertionTeteCandidat(ListeC ld, char *ville, char *departement, int decision, int validation);
|
|
|
|
|
ListeC InsertionCandidat(ListeC ld, char *ville, char *departement, int decision, int validation);
|
|
|
|
|
void affichageCandidatchoix(Candidat *tcandidat[],int n);
|
|
|
|
|
void affichageListeCandidatchoix(ListeC ld);
|
|
|
|
|
int chargementcandidat(Candidat *tcandidat[],int tmax);
|
|
|
|
|
Candidat lireCandidat(FILE *fe1, int *nbChoix);
|
|
|
|
|
Choix lireChoix(FILE *fe1);
|
|
|
|
|
ListeC InsertionTeteCandidat(ListeC ld, char *ville, char *departement, int decision, int validation); ListeC InsertionCandidat(ListeC ld, char *ville, char *departement, int decision, int validation);
|
|
|
|
|
void affichageCandidatchoix(Candidat *tcandidat[],int n);
|
|
|
|
|
void affichageListeCandidatchoix(ListeC ld);
|
|
|
|
|
|
|
|
|
|
// fonction de sauvegarde
|
|
|
|
|
int fsauvegarde(VilleIUT *tiut[], Candidat *tcandidat[], int n, int nc, int choix, int tmax);
|
|
|
|
|