You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
1.9 KiB
36 lines
1.9 KiB
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
|
|
/* 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 OuvertureMembres(int tNoCarte[], int tAge[], int tPointsCarte[], int tCarteActive[], int tMax);
|
|
int OuvertureActivitesJour(int tNbActivitesJour[], int tDate[], int tMax);
|
|
|
|
/* 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 AffichageNbEntreesTousJour(int tNbActivitesJour[], int tDate[], int nbElem);
|
|
void AffichageNbEntreesTotal(int tNbActivitesJour[], int nbElem);
|
|
void AffichageNbAdherents(int nbElem);
|
|
|
|
/* Fonction globale */
|
|
void GestionMenus(void);
|
|
|
|
/* Fonction de sauvegarde */
|
|
int Sauvegarde(int tNoCarte[], int tAge[], int tPointsCarte[], int tCarteActive[], int tNbActivitesJour[], int tDate[], int nbElem, int pasAct);
|
|
|
|
/* Fonctions de gestion des adhérents */
|
|
int RechercheAdherent(int tNoCarte[], int nbElem, int NoCarte, int *trouve);
|
|
int RechercheAjoutAdherent(int tNoCarte[], int nbElem, int noCarte);
|
|
int AjoutAdherent(int tNoCarte[], int tAge[], int tPointsCarte[], int tCarteActive[], int tMax, int nbElem);
|
|
void ModificationAge(int tNoCarte[], int tAge[], int nbElem);
|
|
int SupprimerAdherent(int tNoCarte[], int tAge[], int tPointsCarte[], int tCarteActive[], int nbElem);
|
|
void ModificationActivationCarte(int tNoCarte[], int tCarteActive[], int nbElem);
|
|
|
|
/* Fonctions de gestion des points */
|
|
void AjoutPoints(int tNoCarte[], int tPointsCarte[], int tCarteActive[], int nbElem, int noCarte);
|
|
void DebitActivitee(int tNoCarte[], int tCarteActive[], int tNbActivitesJour[], int nbElem); |