I would suggest you do
Likewise, your add / delete / replace would also be function calls within those inner switches.Code:case '1': doInsects(); break; case '2': doBirds(); break; case '3': doMammals(); break; case '4': doFishes(); break;
I would suggest you do
Likewise, your add / delete / replace would also be function calls within those inner switches.Code:case '1': doInsects(); break; case '2': doBirds(); break; case '3': doMammals(); break; case '4': doFishes(); break;
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.