some modifications

Signed-off-by: Mathéo Hersan <matheohersan@MacBook-Pro-de-Matheo.local>
pull/2/head
Mathéo Hersan 2 years ago
parent 0d9eac6e56
commit e4d1670166
No known key found for this signature in database
GPG Key ID: 4EF19C64D78EC91B

@ -8,6 +8,6 @@
#include<stdio.h>
#include<stdlib.h>
void chargerClient(int tNumClient[], float tCagnotte[], int tSus[], int *tLogique);
void ajouter_article(int reference, float poids, float volume, int prixUnitaire);
#endif //SAE_101_CLIENT_H

@ -2,4 +2,3 @@
int chargementArticles(int tRef[], float tPoids[], float tVol[], float tPrix[], int tPhysique);
void sauvegardArticles(int tRef[], float tPoids[], float tVol[], float tPrix[], int tLogique);
int ajouterArticle( int tRef[], float tPoids[], float tVol[], float tPrix[], int *tLogique, int tPhysique, int ref, float poids, float volume, float prix);

@ -1,11 +1,5 @@
#include<stdio.h>
void affiche_client(int a);
<<<<<<< HEAD
void menu(int *choix, int a);
void global_client();
void demander_article(int reference, float poids, float volume, int prixUnitaire);
=======
void menu_client(int *choix, int a);
void global_client();
>>>>>>> 91542d8 (fixed some bugs on resp. Added global_resp and added error handling for char)

@ -123,7 +123,7 @@ void menu_resp(int *choix, int jour) {
}
void global_resp(){
int choix, a, tRef[100], tLogique = 0;
int choix, a = 0, tRef[100], tLogique = 0;
float tPoids[100], tVol[100], tPrix[100];
menu_resp(&choix, a);
switch (choix) {

Loading…
Cancel
Save