Date: Sun, 1 May 2022 08:15:50 +0000
int menu (/**/requires/**/ unsigned int menu_option = 0)
// Called as:
menu(default);
// OR:
menu(5)
// Compiler Error: function "menu(unsigned int)" requires //unsigned int variable
menu()
I do not want calls like menu(), but I do want ability to call menu(default), as, in this case, going to default screen makes perfect sense.
// Called as:
menu(default);
// OR:
menu(5)
// Compiler Error: function "menu(unsigned int)" requires //unsigned int variable
menu()
I do not want calls like menu(), but I do want ability to call menu(default), as, in this case, going to default screen makes perfect sense.
Received on 2022-05-01 08:15:52