diff --git a/extra/Explication_Structure.odt b/extra/Explication_Structure.odt deleted file mode 100644 index 4a4d25c..0000000 Binary files a/extra/Explication_Structure.odt and /dev/null differ diff --git a/src/annexe/saeAnnexe.h b/src/annexe/saeAnnexe.h index 78afdfa..37be0d4 100644 --- a/src/annexe/saeAnnexe.h +++ b/src/annexe/saeAnnexe.h @@ -3,7 +3,7 @@ /** *\file saeAnnexe.h *\brief Liste des fonctions générales utilisées dans la plupart des .c. -*\author Van Brabant.J Champeau.Y +*\author Van Brabandt.J Champeau.Y *\date 13 janvier 2023 * *Fichier regroupant les prototypes des fonctions générales utilisées par l'application. diff --git a/src/partie1/saeP1.c b/src/partie1/saeP1.c index e191900..b400353 100644 --- a/src/partie1/saeP1.c +++ b/src/partie1/saeP1.c @@ -7,7 +7,7 @@ //Partie Consultant. -void menuUser(VilleIUT* lvIUT[],int tlogi, int CandidOpen, candidat tcandidat[]) +void menuUser(VilleIUT* lvIUT[],int tlogi, int CandidOpen, candidat* tcandidat[]) { int quit=0, ck=0, act; while(!quit) diff --git a/src/partie1/saeP1.h b/src/partie1/saeP1.h index 7d2606a..d7a5a89 100644 --- a/src/partie1/saeP1.h +++ b/src/partie1/saeP1.h @@ -3,7 +3,7 @@ /** *\file saeP1.h *\brief Liste des fonctions utilisées dans la partie 1. -*\author Van Brabant.J Champeau.Y +*\author Van Brabandt.J Champeau.Y *\date 13 janvier 2023 * *Fichier regroupant les prototypes des fonctions utilisées par l'application dans la partie 1 de la SAE. @@ -47,7 +47,7 @@ typedef struct * \param [in] CandidOpen Entier contenant 1 si la phase de canditatures est ouverte, 0 sinon. * \param [in] tcandidat Tableau contenant les candidats. */ -void menuUser(VilleIUT* lvIUT[],int tlogi, int CandidOpen, candidat tcandidat[]); +void menuUser(VilleIUT* lvIUT[],int tlogi, int CandidOpen, candidat* tcandidat[]); /* Menu pour les utilisateurs du système, les candidats. Entrée : diff --git a/src/partie2/saeP2.h b/src/partie2/saeP2.h index 6b8b30a..e03d56c 100644 --- a/src/partie2/saeP2.h +++ b/src/partie2/saeP2.h @@ -1,7 +1,7 @@ /** *\file saeP2.h *\brief Liste des fonctions utilisées dans la partie 2. -*\author Van Brabant.J Champeau.Y +*\author Van Brabandt.J Champeau.Y *\date 13 janvier 2023 * *Fichier regroupant les prototypes des fonctions utilisées par l'application dans la partie 2 de la SAE. @@ -45,7 +45,7 @@ typedef struct * \param [out] nbcandidat nombre de candidats enregistrés. * \return le tableau de candidats. */ -candidat* LoadCandid(int *CandidOpen,int* nbcandidat); +candidat** LoadCandid(int *CandidOpen,int* nbcandidat); /* Charge le fichier candidature Entrée : diff --git a/src/saeMain.c b/src/saeMain.c index 3c7ec08..57f7cf6 100644 --- a/src/saeMain.c +++ b/src/saeMain.c @@ -12,7 +12,7 @@ int main(void) VilleIUT* tiut[36529]; int CandidOpen=0; int nbcandidat=0; - candidat* tcandidat=LoadCandid(&CandidOpen,&nbcandidat); + candidat** tcandidat=LoadCandid(&CandidOpen,&nbcandidat); int tlogi=loadIUT(tiut), quitter=0; while(!quitter){ menu(CandidOpen);