You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
478 B
31 lines
478 B
#include "partie1.h"
|
|
|
|
void choixMenu(void)
|
|
{
|
|
int choix;
|
|
printf("Veuillez choisir votre menu :\n");
|
|
printf("1 -\tMenu utilisateur");
|
|
printf("2 -\tMenu administrateur");
|
|
printf("\nChoix : ");
|
|
scanf("%d", &choix);
|
|
switch (choix)
|
|
{
|
|
case 1:
|
|
menuUtilisateur();
|
|
break;
|
|
case 2:
|
|
menuAdministrateur();
|
|
break;
|
|
default:
|
|
break;
|
|
}
|
|
}
|
|
|
|
/*
|
|
void menuUtilisateur(void)
|
|
{
|
|
}
|
|
|
|
void menuAdministrateur(void)
|
|
{
|
|
}*/ |