I have a map nested inside another map, I want to assign values to the outer map, but i'm not quite sure how to do it. this causes the program to break even before it begins. I'm not showing any errors when I run it though
map<int, map<int, int>> outer;
map<int, int> inner;
outer.emplace(1, make_pair(2, 1));
outer.emplace(2, make_pair(2, 1));
outer.emplace(3, make_pair(2, 1));
outer.emplace(1, make_pair(3, 1));
Any help would help thanks