From 2ed9d54e23866dd0b91585c6804417244920255c Mon Sep 17 00:00:00 2001 From: Kyllian CHABANON Date: Thu, 10 Nov 2022 18:15:21 +0100 Subject: [PATCH] =?UTF-8?q?Am=C3=A9lioration=20de=20la=20lisibilit=C3=A9?= =?UTF-8?q?=20du=20code?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Fonctions.h | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/Fonctions.h b/Fonctions.h index ea00b4e..18a6b44 100644 --- a/Fonctions.h +++ b/Fonctions.h @@ -1,37 +1,35 @@ #include #include -/* 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 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 */ +/* Fonctions des menus */ int choixMenu(void); int choixMenuAffichage(void); -/* Fonctions d'affichage */ +/* 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 global */ +/* Fonction globale */ void gestionMenus(void); -/* Fonction Sauvegarde */ +/* Fonction de 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 rechercheAdherent (int tNoCarte[], int nbelem, int NoCarte, int *trouve); +/* 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 */ +/* 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); \ No newline at end of file