options working

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

BIN
app

Binary file not shown.

@ -1,4 +1,5 @@
#include "interface_client.h"
#include "app/core_logic/client.h"
void affiche_client(){
printf("\n");
@ -6,10 +7,10 @@ void affiche_client(){
printf("|| Bonjour ! ||\n") ;
printf("--------------- \n");
printf("\n");
printf("-------------------------------------------------------------------\n");
printf("+-----------------------------------------------------------------+\n");
printf("|| Que voulez-vous faire ? \t \t \t \t \t || \n") ;
printf("||\t1 : Afficher le récapitulatif du panier. \t \t || \n") ;
printf("-------------------------------------------------------------------\n");
printf("+-----------------------------------------------------------------+\n");
}
/*
@ -22,9 +23,9 @@ void menu(int *choix) {
while (*choix == 1)
{
affiche_client();
printf("Vous choisissez: ");
afficherDonneesClient();
printf("Vous choisissez: %d ", *choix);
printf("Veuillez entrer un choix valide ! \n");
scanf("%d", choix);
}
}
}

Loading…
Cancel
Save