|
|
@ -1,11 +1,10 @@
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include <stdlib.h>
|
|
|
|
|
|
|
|
|
|
|
|
/* Fonctions Ouverture des fichiers textes */
|
|
|
|
/* Fonctions d'ouverture des fichiers texte */
|
|
|
|
int Ouverture(int tNoCarte[], int tage[], int tPointsCarte[], int tCarteActive[], int tNbActivitesJour[], int tDate[], int tmax, int *pasAct);
|
|
|
|
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 OuvertureMembres(int tNoCarte[], int tage[], int tPointsCarte[], int tCarteActive[], int tmax);
|
|
|
|
int OuvertureActivitesJour(int tNbActivitesJour[], int tDate[], int tmax);
|
|
|
|
int OuvertureActivitesJour(int tNbActivitesJour[], int tDate[], int tmax);
|
|
|
|
void testOuverture(void);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* Fonctions des menus */
|
|
|
|
/* Fonctions des menus */
|
|
|
|
int choixMenu(void);
|
|
|
|
int choixMenu(void);
|
|
|
@ -18,15 +17,14 @@ void AffichageNbEntreesTousJour(int tNbActivitesJour[], int tDate[], int nbelem)
|
|
|
|
void AffichageNbEntreesTotal(int tNbActivitesJour[], int nbelem);
|
|
|
|
void AffichageNbEntreesTotal(int tNbActivitesJour[], int nbelem);
|
|
|
|
void AffichageNbAdherents(int nbelem);
|
|
|
|
void AffichageNbAdherents(int nbelem);
|
|
|
|
|
|
|
|
|
|
|
|
/* Fonction global */
|
|
|
|
/* Fonction globale */
|
|
|
|
void gestionMenus(void);
|
|
|
|
void gestionMenus(void);
|
|
|
|
|
|
|
|
|
|
|
|
/* Fonction Sauvegarde */
|
|
|
|
/* Fonction de sauvegarde */
|
|
|
|
int Sauvegarde(int tNoCarte[], int tage[], int tPointsCarte[], int tCarteActive[], int tNbActivitesJour[], int tDate[], int nbelem);
|
|
|
|
int Sauvegarde(int tNoCarte[], int tage[], int tPointsCarte[], int tCarteActive[], int tNbActivitesJour[], int tDate[], int nbelem);
|
|
|
|
void testSauvegarde(void);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* Fonctions de gestion des adherents */
|
|
|
|
/* Fonctions de gestion des adhérents */
|
|
|
|
int rechercheAdherent (int tNoCarte[], int nbelem, int NoCarte, int *trouve);
|
|
|
|
int rechercheAdherent(int tNoCarte[], int nbelem, int NoCarte, int *trouve);
|
|
|
|
int AjoutAdherent(int tNoCarte[], int tage[], int tPointsCarte[], int tCarteActive[], int tmax, 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 ModificationAge(int tNoCarte[], int tage[], int nbelem);
|
|
|
|
int SupprimmerAdherent(int tNoCarte[], int tage[], int tPointsCarte[], int tCarteActive[], int nbelem);
|
|
|
|
int SupprimmerAdherent(int tNoCarte[], int tage[], int tPointsCarte[], int tCarteActive[], int nbelem);
|
|
|
|