struct main_page {// displays the selected page void main_menu (menu_entry selection ) {switch (selection ) {case menu_entry ::start : show_landing_page();break ;case menu_entry ::ueber : show_about_page();break ;case menu_entry ::kontakt : show_contact_page();break ;case menu_entry ::impressum : show_impress_page();break ;case menu_entry ::dsgvo : show_dsvgo_page();break ; } } };