You're accessing indices 1 and 2 of menu_id, but nowhere have you added any elements to menu_id, so you end up going out of bounds.
Also, why does your Menu class contain a vector of Menu items? That doesn't really make sense -- it's like going to a restaurant and finding that each item on the menu is itself another menu.
Also, on line 22, you forgot to give a starting value for n.