diff --git a/app b/app new file mode 100755 index 0000000..2258f3a Binary files /dev/null and b/app differ diff --git a/src/app/core_logic/responsable.c b/src/app/core_logic/responsable.c index c5be947..d6e5ad8 100644 --- a/src/app/core_logic/responsable.c +++ b/src/app/core_logic/responsable.c @@ -124,7 +124,7 @@ void modifierArticle(int tRef[], float tPoids[], float tVol[], float tPrix[], in } -void ajouterClient(int tNumClient[], float tCagnotte[], int tSus[], int *tLogique, int tPhysique) +void ajouterClient(int tNumClient[], float tCagnotte[], int tSus[], int *tLogique) { int numC = 0; affichAjoutClient(tNumClient, *tLogique, &numC); diff --git a/src/app/core_logic/responsable.h b/src/app/core_logic/responsable.h index 18dcfd5..3d292eb 100644 --- a/src/app/core_logic/responsable.h +++ b/src/app/core_logic/responsable.h @@ -107,7 +107,7 @@ void modifierArticle(int tRef[], float tPoids[], float tVol[], float tPrix[], in * @param tLogique Pointeur vers la taille logique des tableaux. * @param tPhysique Taille physique des tableaux. */ -void ajouterClient(int tNumClient[], float tCagnotte[], int tSus[], int *tLogique, int tPhysique); +void ajouterClient(int tNumClient[], float tCagnotte[], int tSus[], int *tLogique); /** * @brief Décode le mot de passe du fichier mdp.txt pour le comparer avec le mdp entré. diff --git a/src/app/interface/interface_resp.c b/src/app/interface/interface_resp.c index b07ae55..71c67f3 100644 --- a/src/app/interface/interface_resp.c +++ b/src/app/interface/interface_resp.c @@ -430,7 +430,7 @@ void global_resp(void) { modifierArticle(tRef, tPoids, tVol, tPrix, tLogArticle); break; case 8: - ajouterClient(tNumClient, tCagnotte, tSus, &tLogClient, MAX_CLIENTS); + ajouterClient(tNumClient, tCagnotte, tSus, &tLogClient); break; case 9: affichModifClient(tNumClient, tSus, tLogClient);