#include #include /* Fonctions Ouverture des fichiers textes */ int Ouverture(int tNoCarte[], int tage[], int tPointsCarte[], int tCarteActive[], int tNbActivitesJour[], int tDate[], int tmax, int *pasAct); int OuvertureMembres(int tNoCarte[], int tage[], int tPointsCarte[], int tCarteActive[], int tmax); int OuvertureActivitesJour(int tNbActivitesJour[], int tDate[], int tmax); void testOuverture(void); /* Fonctions des menus */ int choixMenu(void); int choixMenuAffichage(void); /* Fonctions d'affichage */ void Affichage1Adherent(int tNoCarte[], int tage[], int tPointsCarte[], int tCarteActive[], int nbelem); void AffichageTousAdherents(int tNoCarte[], int tage[], int tPointsCarte[], int tCarteActive[], int nbelem); void AffichageNbEntreesTousJours(int tNbActivitesJour[], int tDate[], int nbelem); void AffichageNbEntreesTotal(int tNbActivitesJour[], int nbelem); void AffichageNbAdherents(int nbelem); /* Fonction global */ void gestionMenus(void); /* Fonction Sauvegarde */ int Sauvegarde(int tNoCarte[], int tage[], int tPointsCarte[], int tCarteActive[], int tNbActivitesJour[], int tDate[], int nbelem); void testSauvegarde(void); /* Fonctions de gestion des adherents */ int rechercheAdherant (int tNoCarte[], int nbelem); int AjoutAdherent(int tNoCarte[], int tage[], int tPointsCarte[], int tCarteActive[], int tmax, int nbelem); void ModificationAge(int tNoCarte[], int tage[], int nbelem); void modificationEtat(int tNumCarte[], int tEtat[], int tailleLog); /* Fonstions de gestion des points */ void ajouterPoints(int tNumCarte[], int tPoints[], int tailleLog); int recherche(int tab[], int tailleLog, int valeur, int *trouve); int modifierPoints(int tNumCarte[], int tPoints[], int tailleLog, int numCarte, int points);