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.
35 lines
1.8 KiB
35 lines
1.8 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);
|
|
|
|
/* Fonctions de gestion des adhérents */
|
|
int rechercheAdherent(int tNoCarte[], int nbelem, int NoCarte, int *trouve);
|
|
int AjoutAdherent(int tNoCarte[], int tage[], int tPointsCarte[], int tCarteActive[], int tmax, int nbelem);
|
|
void ModificationAge(int tNoCarte[], int tage[], int nbelem);
|
|
int SupprimmerAdherent(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);
|
|
void DebitActivitee(int tNoCarte[], int tCarteActive[], int tNbActivitesJour[], int nbelem); |