[Solved] function not stopping [closed]
Your problem comes from a bad use of switch/case. See Switch/Case documentation. Your menu switch/case will triggered every cases switch(1) { case 1 : cout << ‘1’; // prints “1”, case 2 : cout << ‘2’; // then prints “2” } and switch(1) { case 1 : cout << ‘1’; // prints “1” break; // … Read more