It would be strange. Is it a team or something?
Anyways, the project is just as delicious as cake. Show us what you've got here (your code), so that we can help you.
while (!quit)
{
showMenu();
char ch = gc();
switch(ch)
{
case 'A':
{
mmm();
int pp = hh();
switch(pp)
{
case 1:
//
break;
case 2:
//
break;
case 3:{}
//
break;
case 4:
//
break;
case 5:
//
break;
case 6:
//
break;
}
}
// handle choice A
break;
case 'B':
// handle choice B
break;
case 'C':
// handle choice C
break;
case 'D':
//D
break;
case 'E':
//E
break;
case 'F':
quit = true;
break;
}
}
@keskiverto, What logical operation in your program does need a stack? . I believe the idea is to put the menu in a stack. Must be a learning experience, I learned from it.
Hello dendimon,
Please use only one thread per topic. I left you an answer in your other topic. More work than needed, but it works.