I have two classes which depend on each other. I’ve solved this problem before but I can not for the life of me remember how to fix this. My simplified code is this:
struct MenuOption{
string Text;
int Choice;
bool UseSubMenu;
Menu SubMenu;
};
class Menu{
public:
Menu(MenuOption optionlist[],int optioncount);
};
I.e.: