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.

340 lines
20 KiB

\hypertarget{sae_8c}{}\doxysection{sae.\+c File Reference}
\label{sae_8c}\index{sae.c@{sae.c}}
ce fichier sert à faire fonctionner le programme du bar salle de sport \+: \char`\"{}altère pub\char`\"{}.
{\ttfamily \#include $<$stdio.\+h$>$}\newline
{\ttfamily \#include \char`\"{}sae.\+h\char`\"{}}\newline
Include dependency graph for sae.\+c\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=192pt]{sae_8c__incl}
\end{center}
\end{figure}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item
int \mbox{\hyperlink{sae_8c_a7f3db509b04b31b00f287fa6b8959fad}{menu}} (void)
\begin{DoxyCompactList}\small\item\em fonction qui gère l\textquotesingle{}affichage et la saisie dans le menu principal \end{DoxyCompactList}\item
\mbox{\Hypertarget{sae_8c_a839a62681808312113e0d1acbd841205}\label{sae_8c_a839a62681808312113e0d1acbd841205}}
void \mbox{\hyperlink{sae_8c_a839a62681808312113e0d1acbd841205}{globale}} (void)
\begin{DoxyCompactList}\small\item\em fonction globale qui agit comme un menu principal \end{DoxyCompactList}\item
\mbox{\Hypertarget{sae_8c_a5d57fd3d7fead539bd550814d219a239}\label{sae_8c_a5d57fd3d7fead539bd550814d219a239}}
int {\bfseries recherche} (int num\+Adh, int tab\+Num\+Adh\mbox{[}$\,$\mbox{]}, int nbre\+Adh)
\item
\mbox{\Hypertarget{sae_8c_a97a7921701b48616b684b6749ac1b3fd}\label{sae_8c_a97a7921701b48616b684b6749ac1b3fd}}
int {\bfseries num\+Dispo} (int tab\+Num\+Adh\mbox{[}$\,$\mbox{]}, int nbre\+Adh)
\item
int \mbox{\hyperlink{sae_8c_afa696fc0519e17095220c4e70f9ad464}{creer\+Adh}} (int nbre\+Adh, int tab\+Num\+Adh\mbox{[}$\,$\mbox{]}, int soldes\mbox{[}$\,$\mbox{]}, int statut\+Carte\mbox{[}$\,$\mbox{]})
\begin{DoxyCompactList}\small\item\em fonction qui permet de creer un adhérent \end{DoxyCompactList}\item
int \mbox{\hyperlink{sae_8c_aab2574f041973727f871f4552a7973ec}{chargement}} (int soldes\mbox{[}$\,$\mbox{]}, int statut\+Carte\mbox{[}$\,$\mbox{]}, int tab\+Num\+Compt\mbox{[}$\,$\mbox{]})
\begin{DoxyCompactList}\small\item\em fonction qui charge les données (soldes, statut\+Carte et N°\+Compte) dans des tableaux \end{DoxyCompactList}\item
void \mbox{\hyperlink{sae_8c_a00adf9c3a0114a9dbce3d4b70913cdb8}{alimenter\+Carte}} (int num\+Adh, int soldes\mbox{[}$\,$\mbox{]}, int nbre\+Adh)
\begin{DoxyCompactList}\small\item\em fonction qui sert à alimenter en points les cartes des adhérents \end{DoxyCompactList}\item
void \mbox{\hyperlink{sae_8c_a648283aece883f660b3f9615a7ab3240}{sauvegarde}} (int num\+Compte\mbox{[}$\,$\mbox{]}, int soldes\mbox{[}$\,$\mbox{]}, int statut\+Carte\mbox{[}$\,$\mbox{]}, int nbre\+Adh)
\begin{DoxyCompactList}\small\item\em fonction qui sauvegarde les données (soldes, statut\+Carte et N°\+Compte) {\bfseries{dans}} le fichier adherents.\+don \end{DoxyCompactList}\item
int \mbox{\hyperlink{sae_8c_a94d6b2407e7396fe8dec0f3d884acec3}{menu\+Activite}} (void)
\begin{DoxyCompactList}\small\item\em fonction qui gère l\textquotesingle{}affichage et la saisie dans le sous menu des activités \end{DoxyCompactList}\item
int \mbox{\hyperlink{sae_8c_abb3baeca21461985d17711a7aa46f380}{depenser\+Pts}} (int num\+Adh, int soldes\mbox{[}$\,$\mbox{]}, int montant\+Debit, int tab\+Acti\mbox{[}$\,$\mbox{]}, int acti)
\begin{DoxyCompactList}\small\item\em fonction qui retire des points à un adhérents lorsqu\textquotesingle{}il fait une activité \end{DoxyCompactList}\item
void \mbox{\hyperlink{sae_8c_aabcfa90b336f27cc54828e21bcb0794c}{activite}} (int choix, int soldes\mbox{[}$\,$\mbox{]}, int deja\+Venu\mbox{[}$\,$\mbox{]}, int tab\+Num\+Adh\mbox{[}$\,$\mbox{]}, int statut\+Carte\mbox{[}$\,$\mbox{]}, int nbre\+Adh, int tab\+Acti\mbox{[}$\,$\mbox{]})
\begin{DoxyCompactList}\small\item\em fonction qui \char`\"{}démarre\char`\"{} une activité selon le choix de l\textquotesingle{}utilisateur \end{DoxyCompactList}\item
void \mbox{\hyperlink{sae_8c_a8a25ebd22e1c70844e0ab07670d82e5e}{affich\+Adh}} (int num\+Adh, int soldes\mbox{[}$\,$\mbox{]}, int deja\+Venu\mbox{[}$\,$\mbox{]}, int statut\+Carte\mbox{[}$\,$\mbox{]}, int num\+Compte\mbox{[}$\,$\mbox{]}, int nbre\+Adh)
\begin{DoxyCompactList}\small\item\em fonction qui affiche les informatinos d\textquotesingle{}un adhérent \end{DoxyCompactList}\item
void \mbox{\hyperlink{sae_8c_a7518eb1081fb629ebe3f0fd9d629e59d}{affich\+Tous\+Adh}} (int num\+Adh, int soldes\mbox{[}$\,$\mbox{]}, int deja\+Venu\mbox{[}$\,$\mbox{]}, int statut\+Carte\mbox{[}$\,$\mbox{]}, int num\+Compte\mbox{[}$\,$\mbox{]}, int nbre\+Adh)
\begin{DoxyCompactList}\small\item\em fonction qui affiche tous les adhérents \end{DoxyCompactList}\item
void \mbox{\hyperlink{sae_8c_a9252c4b562ef2d7c1c6eba17a69e6b16}{act\+Desact\+Carte}} (int num\+Adh, int statut\+Carte\mbox{[}$\,$\mbox{]}, int num\+Compte\mbox{[}$\,$\mbox{]}, int nbre\+Adh)
\begin{DoxyCompactList}\small\item\em fonction qui permet d\textquotesingle{}activer ou de désactiver la carte d\textquotesingle{}un adhérent \end{DoxyCompactList}\item
void \mbox{\hyperlink{sae_8c_aed318dabb18bd675cd9a620a0d8e3964}{supp\+Adh}} (int num\+Adh\+Sup, int soldes\mbox{[}$\,$\mbox{]}, int deja\+Venu\mbox{[}$\,$\mbox{]}, int tab\+Num\+Adh\mbox{[}$\,$\mbox{]}, int statut\+Carte\mbox{[}$\,$\mbox{]}, int $\ast$nbre\+Adh)
\begin{DoxyCompactList}\small\item\em fonction qui permet de supprimer un adhérent à partir de son numéro d\textquotesingle{}adhérent \end{DoxyCompactList}\item
void \mbox{\hyperlink{sae_8c_a6cee71a77e001c428bf9d53f0fe5a601}{affich\+Acti}} (int tab\+Acti\mbox{[}$\,$\mbox{]})
\begin{DoxyCompactList}\small\item\em fonction qui affiche les statistiques de fréquentations pour chaque activités \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection{Detailed Description}
ce fichier sert à faire fonctionner le programme du bar salle de sport \+: \char`\"{}altère pub\char`\"{}.
\begin{DoxyAuthor}{Author}
Adam BONAFOS
\end{DoxyAuthor}
\begin{DoxyDate}{Date}
10/11/2022
\end{DoxyDate}
\doxysubsection{Function Documentation}
\mbox{\Hypertarget{sae_8c_a9252c4b562ef2d7c1c6eba17a69e6b16}\label{sae_8c_a9252c4b562ef2d7c1c6eba17a69e6b16}}
\index{sae.c@{sae.c}!actDesactCarte@{actDesactCarte}}
\index{actDesactCarte@{actDesactCarte}!sae.c@{sae.c}}
\doxysubsubsection{\texorpdfstring{actDesactCarte()}{actDesactCarte()}}
{\footnotesize\ttfamily void act\+Desact\+Carte (\begin{DoxyParamCaption}\item[{int}]{num\+Adh, }\item[{int}]{statut\+Carte\mbox{[}$\,$\mbox{]}, }\item[{int}]{num\+Compte\mbox{[}$\,$\mbox{]}, }\item[{int}]{nbre\+Adh }\end{DoxyParamCaption})}
fonction qui permet d\textquotesingle{}activer ou de désactiver la carte d\textquotesingle{}un adhérent
\begin{DoxyParams}[1]{Parameters}
& {\em num\+Adh} & numéro d\textquotesingle{}adhérent \\
\hline
\mbox{\texttt{ in,out}} & {\em statut\+Carte} & tableau contenant le statut des cartes de chaques adhérents \\
\hline
\mbox{\texttt{ in}} & {\em num\+Compte} & tableau contenant tous les numéros d\textquotesingle{}adhérents \\
\hline
\mbox{\texttt{ in}} & {\em nbre\+Adh} & nombre d\textquotesingle{}adhérents \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{sae_8c_aabcfa90b336f27cc54828e21bcb0794c}\label{sae_8c_aabcfa90b336f27cc54828e21bcb0794c}}
\index{sae.c@{sae.c}!activite@{activite}}
\index{activite@{activite}!sae.c@{sae.c}}
\doxysubsubsection{\texorpdfstring{activite()}{activite()}}
{\footnotesize\ttfamily void activite (\begin{DoxyParamCaption}\item[{int}]{choix, }\item[{int}]{soldes\mbox{[}$\,$\mbox{]}, }\item[{int}]{deja\+Venu\mbox{[}$\,$\mbox{]}, }\item[{int}]{tab\+Num\+Adh\mbox{[}$\,$\mbox{]}, }\item[{int}]{statut\+Carte\mbox{[}$\,$\mbox{]}, }\item[{int}]{nbre\+Adh, }\item[{int}]{tab\+Acti\mbox{[}$\,$\mbox{]} }\end{DoxyParamCaption})}
fonction qui \char`\"{}démarre\char`\"{} une activité selon le choix de l\textquotesingle{}utilisateur
\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}} & {\em choix} & choix d\textquotesingle{}activité fait par l\textquotesingle{}utilisateur \\
\hline
\mbox{\texttt{ in,out}} & {\em soldes} & tableau contenant les points de tous les adhérents \\
\hline
\mbox{\texttt{ in,out}} & {\em deja\+Venu} & tableau qui gère si un utilisateur est déjà {\bfseries{rentré}} dans la salle de sport aujourd\textquotesingle{}hui \\
\hline
\mbox{\texttt{ in}} & {\em tab\+Num\+Adh} & tableau contenant tous les numéros d\textquotesingle{}adhérents \\
\hline
\mbox{\texttt{ in}} & {\em statut\+Carte} & tableau contenant le statut des cartes de chaques adhérents \\
\hline
\mbox{\texttt{ in}} & {\em nbre\+Adh} & nombre d\textquotesingle{}adhérents \\
\hline
\mbox{\texttt{ in,out}} & {\em tab\+Acti} & tableau qui compte le nombre d\textquotesingle{}occurences {\bfseries{journalières}} de chaques activités \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{sae_8c_a6cee71a77e001c428bf9d53f0fe5a601}\label{sae_8c_a6cee71a77e001c428bf9d53f0fe5a601}}
\index{sae.c@{sae.c}!affichActi@{affichActi}}
\index{affichActi@{affichActi}!sae.c@{sae.c}}
\doxysubsubsection{\texorpdfstring{affichActi()}{affichActi()}}
{\footnotesize\ttfamily void affich\+Acti (\begin{DoxyParamCaption}\item[{int}]{tab\+Acti\mbox{[}$\,$\mbox{]} }\end{DoxyParamCaption})}
fonction qui affiche les statistiques de fréquentations pour chaque activités
\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}} & {\em tab\+Acti} & tableau qui compte le nombre d\textquotesingle{}occurences {\bfseries{journalières}} de chaques activités \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{sae_8c_a8a25ebd22e1c70844e0ab07670d82e5e}\label{sae_8c_a8a25ebd22e1c70844e0ab07670d82e5e}}
\index{sae.c@{sae.c}!affichAdh@{affichAdh}}
\index{affichAdh@{affichAdh}!sae.c@{sae.c}}
\doxysubsubsection{\texorpdfstring{affichAdh()}{affichAdh()}}
{\footnotesize\ttfamily void affich\+Adh (\begin{DoxyParamCaption}\item[{int}]{num\+Adh, }\item[{int}]{soldes\mbox{[}$\,$\mbox{]}, }\item[{int}]{deja\+Venu\mbox{[}$\,$\mbox{]}, }\item[{int}]{statut\+Carte\mbox{[}$\,$\mbox{]}, }\item[{int}]{num\+Compte\mbox{[}$\,$\mbox{]}, }\item[{int}]{nbre\+Adh }\end{DoxyParamCaption})}
fonction qui affiche les informatinos d\textquotesingle{}un adhérent
\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}} & {\em num\+Adh} & numéro d\textquotesingle{}adhérent à afficher \\
\hline
\mbox{\texttt{ in}} & {\em soldes} & tableau contenant les points de tous les adhérents \\
\hline
\mbox{\texttt{ in}} & {\em deja\+Venu} & tableau qui gère si un utilisateur est déjà \\
\hline
\mbox{\texttt{ in}} & {\em statut\+Carte} & tableau contenant le statut des cartes de chaques adhérents \\
\hline
\mbox{\texttt{ in}} & {\em num\+Compte} & tableau contenant tous les numéros d\textquotesingle{}adhérents \\
\hline
\mbox{\texttt{ in}} & {\em nbre\+Adh} & nombre d\textquotesingle{}adhérents \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{sae_8c_a7518eb1081fb629ebe3f0fd9d629e59d}\label{sae_8c_a7518eb1081fb629ebe3f0fd9d629e59d}}
\index{sae.c@{sae.c}!affichTousAdh@{affichTousAdh}}
\index{affichTousAdh@{affichTousAdh}!sae.c@{sae.c}}
\doxysubsubsection{\texorpdfstring{affichTousAdh()}{affichTousAdh()}}
{\footnotesize\ttfamily void affich\+Tous\+Adh (\begin{DoxyParamCaption}\item[{int}]{num\+Adh, }\item[{int}]{soldes\mbox{[}$\,$\mbox{]}, }\item[{int}]{deja\+Venu\mbox{[}$\,$\mbox{]}, }\item[{int}]{statut\+Carte\mbox{[}$\,$\mbox{]}, }\item[{int}]{num\+Compte\mbox{[}$\,$\mbox{]}, }\item[{int}]{nbre\+Adh }\end{DoxyParamCaption})}
fonction qui affiche tous les adhérents
\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}} & {\em num\+Adh} & numéro d\textquotesingle{}adhérent à afficher \\
\hline
\mbox{\texttt{ in}} & {\em soldes} & tableau contenant les points de tous les adhérents \\
\hline
\mbox{\texttt{ in}} & {\em deja\+Venu} & tableau qui gère si un utilisateur est déjà {\bfseries{rentré}} dans la salle de sport aujourd\textquotesingle{}hui \\
\hline
\mbox{\texttt{ in}} & {\em statut\+Carte} & tableau contenant le statut des cartes de chaques adhérents \\
\hline
\mbox{\texttt{ in}} & {\em num\+Compte} & tableau contenant tous les numéros d\textquotesingle{}adhérents \\
\hline
\mbox{\texttt{ in}} & {\em nbre\+Adh} & nombre d\textquotesingle{}adhérents \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{sae_8c_a00adf9c3a0114a9dbce3d4b70913cdb8}\label{sae_8c_a00adf9c3a0114a9dbce3d4b70913cdb8}}
\index{sae.c@{sae.c}!alimenterCarte@{alimenterCarte}}
\index{alimenterCarte@{alimenterCarte}!sae.c@{sae.c}}
\doxysubsubsection{\texorpdfstring{alimenterCarte()}{alimenterCarte()}}
{\footnotesize\ttfamily void alimenter\+Carte (\begin{DoxyParamCaption}\item[{int}]{num\+Adh, }\item[{int}]{soldes\mbox{[}$\,$\mbox{]}, }\item[{int}]{nbre\+Adh }\end{DoxyParamCaption})}
fonction qui sert à alimenter en points les cartes des adhérents
\begin{DoxyParams}[1]{Parameters}
& {\em num\+Adh} & Numéro d\textquotesingle{}adhérent auquel il faut ajouter des points \\
\hline
\mbox{\texttt{ in,out}} & {\em soldes} & tableau contenant les points de tous les adhérents \\
\hline
\mbox{\texttt{ in}} & {\em nbre\+Adh} & nombre d\textquotesingle{}adhérents \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{sae_8c_aab2574f041973727f871f4552a7973ec}\label{sae_8c_aab2574f041973727f871f4552a7973ec}}
\index{sae.c@{sae.c}!chargement@{chargement}}
\index{chargement@{chargement}!sae.c@{sae.c}}
\doxysubsubsection{\texorpdfstring{chargement()}{chargement()}}
{\footnotesize\ttfamily int chargement (\begin{DoxyParamCaption}\item[{int}]{soldes\mbox{[}$\,$\mbox{]}, }\item[{int}]{statut\+Carte\mbox{[}$\,$\mbox{]}, }\item[{int}]{num\+Compte\mbox{[}$\,$\mbox{]} }\end{DoxyParamCaption})}
fonction qui charge les données (soldes, statut\+Carte et N°\+Compte) dans des tableaux
\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ out}} & {\em soldes} & tableau contenant les points de tous les adhérents \\
\hline
\mbox{\texttt{ out}} & {\em statut\+Carte} & tableau contenant le statut des cartes de chaques adhérents \\
\hline
\mbox{\texttt{ out}} & {\em tab\+Num\+Adh} & tableau contenant tous les numéros d\textquotesingle{}adhérents \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{sae_8c_afa696fc0519e17095220c4e70f9ad464}\label{sae_8c_afa696fc0519e17095220c4e70f9ad464}}
\index{sae.c@{sae.c}!creerAdh@{creerAdh}}
\index{creerAdh@{creerAdh}!sae.c@{sae.c}}
\doxysubsubsection{\texorpdfstring{creerAdh()}{creerAdh()}}
{\footnotesize\ttfamily int creer\+Adh (\begin{DoxyParamCaption}\item[{int}]{nbre\+Adh, }\item[{int}]{tab\+Num\+Adh\mbox{[}$\,$\mbox{]}, }\item[{int}]{soldes\mbox{[}$\,$\mbox{]}, }\item[{int}]{statut\+Carte\mbox{[}$\,$\mbox{]} }\end{DoxyParamCaption})}
fonction qui permet de creer un adhérent
\begin{DoxyParams}[1]{Parameters}
& {\em nbre\+Adh} & nombre d\textquotesingle{}adhérents \\
\hline
\mbox{\texttt{ in,out}} & {\em tab\+Num\+Adh} & tableau contenant tous les numéros d\textquotesingle{}adhérents \\
\hline
\mbox{\texttt{ in,out}} & {\em soldes} & tableau contenant les points de tous les adhérents \\
\hline
\mbox{\texttt{ in,out}} & {\em statut\+Carte} & tableau contenant le statut des cartes de chaques adhérents \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
le nouveau nombre d\textquotesingle{}adhérents
\end{DoxyReturn}
\mbox{\Hypertarget{sae_8c_abb3baeca21461985d17711a7aa46f380}\label{sae_8c_abb3baeca21461985d17711a7aa46f380}}
\index{sae.c@{sae.c}!depenserPts@{depenserPts}}
\index{depenserPts@{depenserPts}!sae.c@{sae.c}}
\doxysubsubsection{\texorpdfstring{depenserPts()}{depenserPts()}}
{\footnotesize\ttfamily int depenser\+Pts (\begin{DoxyParamCaption}\item[{int}]{num\+Adh, }\item[{int}]{soldes\mbox{[}$\,$\mbox{]}, }\item[{int}]{montant\+Debit, }\item[{int}]{tab\+Acti\mbox{[}$\,$\mbox{]}, }\item[{int}]{acti }\end{DoxyParamCaption})}
fonction qui retire des points à un adhérents lorsqu\textquotesingle{}il fait une activité
\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}} & {\em num\+Adh} & numéro de l\textquotesingle{}adhérent qui fait l\textquotesingle{}activité \\
\hline
\mbox{\texttt{ in,out}} & {\em soldes} & tableau contenant les points de tous les adhérents \\
\hline
\mbox{\texttt{ in}} & {\em montant\+Debit} & somme à débiter du compte de l\textquotesingle{}adhérent (prix de l\textquotesingle{}activité) \\
\hline
\mbox{\texttt{ in,out}} & {\em tab\+Acti} & tableau qui compte le nombre d\textquotesingle{}occurences {\bfseries{journalières}} de chaques activités \\
\hline
\mbox{\texttt{ in}} & {\em acti} & numéro de l\textquotesingle{}activité faite par l\textquotesingle{}adhérent (case du tableau tab\+Acti {\bfseries{}} est stocké le compteur d\textquotesingle{}occurence de cette activité) \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{sae_8c_a7f3db509b04b31b00f287fa6b8959fad}\label{sae_8c_a7f3db509b04b31b00f287fa6b8959fad}}
\index{sae.c@{sae.c}!menu@{menu}}
\index{menu@{menu}!sae.c@{sae.c}}
\doxysubsubsection{\texorpdfstring{menu()}{menu()}}
{\footnotesize\ttfamily int menu (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}
fonction qui gère l\textquotesingle{}affichage et la saisie dans le menu principal
\begin{DoxyReturn}{Returns}
le choix d\textquotesingle{}action de l\textquotesingle{}utilisateur
\end{DoxyReturn}
\mbox{\Hypertarget{sae_8c_a94d6b2407e7396fe8dec0f3d884acec3}\label{sae_8c_a94d6b2407e7396fe8dec0f3d884acec3}}
\index{sae.c@{sae.c}!menuActivite@{menuActivite}}
\index{menuActivite@{menuActivite}!sae.c@{sae.c}}
\doxysubsubsection{\texorpdfstring{menuActivite()}{menuActivite()}}
{\footnotesize\ttfamily int menu\+Activite (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}
fonction qui gère l\textquotesingle{}affichage et la saisie dans le sous menu des activités
\begin{DoxyReturn}{Returns}
le choix d\textquotesingle{}activité de l\textquotesingle{}utilisateur
\end{DoxyReturn}
\mbox{\Hypertarget{sae_8c_a648283aece883f660b3f9615a7ab3240}\label{sae_8c_a648283aece883f660b3f9615a7ab3240}}
\index{sae.c@{sae.c}!sauvegarde@{sauvegarde}}
\index{sauvegarde@{sauvegarde}!sae.c@{sae.c}}
\doxysubsubsection{\texorpdfstring{sauvegarde()}{sauvegarde()}}
{\footnotesize\ttfamily void sauvegarde (\begin{DoxyParamCaption}\item[{int}]{num\+Compte\mbox{[}$\,$\mbox{]}, }\item[{int}]{soldes\mbox{[}$\,$\mbox{]}, }\item[{int}]{statut\+Carte\mbox{[}$\,$\mbox{]}, }\item[{int}]{nbre\+Adh }\end{DoxyParamCaption})}
fonction qui sauvegarde les données (soldes, statut\+Carte et N°\+Compte) {\bfseries{dans}} le fichier adherents.\+don
\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}} & {\em num\+Compte} & tableau contenant tous les numéros d\textquotesingle{}adhérents \\
\hline
\mbox{\texttt{ in}} & {\em soldes} & tableau contenant les points de tous les adhérents \\
\hline
\mbox{\texttt{ in}} & {\em statut\+Carte} & tableau contenant le statut des cartes de chaques adhérents \\
\hline
\mbox{\texttt{ in}} & {\em nbre\+Adh} & nombre d\textquotesingle{}adhérents \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{sae_8c_aed318dabb18bd675cd9a620a0d8e3964}\label{sae_8c_aed318dabb18bd675cd9a620a0d8e3964}}
\index{sae.c@{sae.c}!suppAdh@{suppAdh}}
\index{suppAdh@{suppAdh}!sae.c@{sae.c}}
\doxysubsubsection{\texorpdfstring{suppAdh()}{suppAdh()}}
{\footnotesize\ttfamily void supp\+Adh (\begin{DoxyParamCaption}\item[{int}]{num\+Adh\+Sup, }\item[{int}]{soldes\mbox{[}$\,$\mbox{]}, }\item[{int}]{deja\+Venu\mbox{[}$\,$\mbox{]}, }\item[{int}]{tab\+Num\+Adh\mbox{[}$\,$\mbox{]}, }\item[{int}]{statut\+Carte\mbox{[}$\,$\mbox{]}, }\item[{int $\ast$}]{nbre\+Adh }\end{DoxyParamCaption})}
fonction qui permet de supprimer un adhérent à partir de son numéro d\textquotesingle{}adhérent
\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}} & {\em num\+Adh\+Sup} & numéro de l\textquotesingle{}adhérent à supprimer \\
\hline
\mbox{\texttt{ in,out}} & {\em soldes} & tableau contenant les points de tous les adhérents \\
\hline
\mbox{\texttt{ in,out}} & {\em deja\+Venu} & tableau qui gère si un utilisateur est déjà {\bfseries{rentré}} dans la salle de sport aujourd\textquotesingle{}hui \\
\hline
\mbox{\texttt{ in,out}} & {\em tab\+Num\+Adh} & tableau contenant tous les numéros d\textquotesingle{}adhérents \\
\hline
\mbox{\texttt{ in,out}} & {\em statut\+Carte} & tableau contenant le statut des cartes de chaques adhérents \\
\hline
\mbox{\texttt{ in,out}} & {\em nbre\+Adh} & pointeur servant à modifier le nombre d\textquotesingle{}adhérents \\
\hline
\end{DoxyParams}