/* \file: sae.h \author: Nolan Devouassoux, Renaud Beuret \date: 25 oct */ /* \brief: gestion adhèrent */ int chargementadherent(int *tNC,char *tN,char *tPR,int *tA,int *tCA,int *tPO, int Tmax); /* \brief: affiche les adèrent */ void affichageA(int *tNC,char *tN,char *tPR,int *tA,int *tCA,int *tPO, int n); /* \brief: fonction qui recher le client */ int recherche (int *tablchoisi ,int tailletabl, int valacherch, char *trouvoupas); //j'ai remplacé par la mienne car nom de variables plus générales , pour y utiliser dans plusieurs fonctions et que ça reste clair (j'ai mit la tienne en commentaire au cas où) //tu fera gaffe pour savoir si il a trouvé j'utilise des char (O ou N) et pas des int /* \brief: ajoute un adèrent */ int insertpers(int *tNC,char *tN,char *tPR,int *tA,int *tCA,int *tPO, int Tmax); /* \brief: globale */ void globale(); //pareil , mit en com et remplacé par mon tableau (où j'ai rajouté tes fonctions) /* brief: charge les sports */ int chargementSport (int *idSports, int *nbPtSpo, int tmax); /* brief: affiche les sports */ void affichage (int *idSports, int *pt, int n); /* brief: enlève un sport */ void enlèveSport (int *idSport, int *pt, int *n); /* brief: menu */ void chargementInit (void); /* brief: recherche sport */ int rechercheSport (int *tablchoisi ,int tailletabl, int valacherch, char *trouvoupas); void sauvegardeSports (int *idSports, int *pt, int n); void ajoutSport (int *idSports, int *pt, int *n, int taillePhys); void changprix (int *idSport, int *pt, int n); int clientVenu (int *tNC, int *tCA, int *tPO, int *idSports, int *nbPtSpo, char *venu); int choixMenu (int choix, int *idSports, int *nbPtSpo, int *nSports, int *tNC, int *tA, int *tCA, int *tPO, int *nAdherent, char *tN, char *tPR, char *venu);