This commit is contained in:
Lukian LEIZOUR 2023-11-26 23:10:30 +01:00
parent 555dcd39b7
commit c755619819
8 changed files with 83 additions and 10 deletions

View file

@ -225,7 +225,7 @@ void menuAbo(ptConf confChain, ptListener listenerChain) {
}
void menu(ptConf confChain, ptListener listenerChain)
{
{
char *options[] = {"1/ Gestion des conferences", "2/ Gestion des abonnes", "3/ Participer a une conference", "4/ Voir la meilleure conference", "5/ Voir la participation a une conference", "6/ Quitter"};
system("cls");
drawMenu(options, 6);
@ -253,6 +253,7 @@ void menu(ptConf confChain, ptListener listenerChain)
scanf("%d", &listenerId);
participateToConf(confChain, listenerChain, confId, listenerId);
saveRelations(confChain);
menu(confChain, listenerChain);
break;
}