all is working

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

BIN
app

Binary file not shown.

@ -1,3 +1,3 @@
464 50.000000 25.500000 60.000000 464 50.00 25.50 60.00
958 4.750000 60.000000 32.000000 958 4.75 60.00 32.00
101 1.000000 1.000000 1.000000 101 2.00 2.00 2.00

@ -271,7 +271,6 @@ void global_resp(){
break; break;
case 9: case 9:
sauvegardArticles(tRef, tPoids, tVol, tPrix, tLogArticle); sauvegardArticles(tRef, tPoids, tVol, tPrix, tLogArticle);
affichArticles(tRef, tPoids, tVol, tPrix, tLogArticle);
return; return;
default: default:
printf("Veuillez entrer un choix valide ! \n"); printf("Veuillez entrer un choix valide ! \n");

@ -31,8 +31,12 @@ int choixInterface(void) {
int main(){ int main(){
switch (choixInterface()) { switch (choixInterface()) {
case 1: global_resp(); case 1:
case 2: global_client(); global_resp();
break;
case 2:
global_client();
break;
} }
return 0; return 0;

Loading…
Cancel
Save