How to make a menu with submenus?

Hello
Take a C++ lesson and study the usage of ENUM, ARRAY, STRUCT and Range-based for loop instructions.