|
|
|
@ -494,12 +494,12 @@ void modificationEtat(int tNumCarte[], int tEtat[], int tailleLog)
|
|
|
|
|
{
|
|
|
|
|
if (tEtat[index] == 1)
|
|
|
|
|
{
|
|
|
|
|
printf("La carte n°%d est déjà active");
|
|
|
|
|
printf("La carte n°%d est déjà active", numCarte);
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
printf("La carte n°%d a été activée");
|
|
|
|
|
printf("La carte n°%d a été activée", numCarte);
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
@ -507,12 +507,12 @@ void modificationEtat(int tNumCarte[], int tEtat[], int tailleLog)
|
|
|
|
|
{
|
|
|
|
|
if (tEtat[index] == 0)
|
|
|
|
|
{
|
|
|
|
|
printf("La carte n°%d est déjà désactivée");
|
|
|
|
|
printf("La carte n°%d est déjà désactivée", numCarte);
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
printf("La carte n°%d a été désactivée.")
|
|
|
|
|
printf("La carte n°%d a été désactivée.", numCarte)
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
@ -546,7 +546,7 @@ int Sauvegarde(int tNoCarte[], int tage[], int tPointsCarte[], int tCarteActive[
|
|
|
|
|
fclose(flot);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void ModificationActivationCarte(int tNoCarte[], int tage[], int tPointsCarte[], int tCarteActive[], int nbelem)
|
|
|
|
|
/*void ModificationActivationCarte(int tNoCarte[], int tage[], int tPointsCarte[], int tCarteActive[], int nbelem)
|
|
|
|
|
{
|
|
|
|
|
int NoCarte, trouve, pas;
|
|
|
|
|
printf("Entrez le numéro de la carte de l'adhérent recherché : ");
|
|
|
|
@ -570,7 +570,7 @@ void ModificationActivationCarte(int tNoCarte[], int tage[], int tPointsCarte[],
|
|
|
|
|
printf("Ce numéro d'adhérant n'existe pas, veuillez réessayer\n");
|
|
|
|
|
return -1;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}*/
|
|
|
|
|
|
|
|
|
|
void DebitActivitee(int tNoCarte[], int tage[], int tPointsCarte[], int tCarteActive[], int tNbActivitesJour[], int tDate[], int nbelem)
|
|
|
|
|
{
|
|
|
|
|