strange issue, program not terminating properly when returning from sub-menu
posted 4 years ago
Hi! Thank you for looking. I have a console menu where the program terminates normally through switch statements in mainmenu but when returning to mainmenu from sub-menu, i have to enter "0" twice to terminate the program from mainmenu. I checked everywhere, and everything look fine. this is very strange... Here's the simplified code. Am I doing anything incorrently? Any assistance is appreciated!