cpp map of vectors code example
Example 1: map of maps c++
map <typename,map<typename,typename>> mp;
map[key1][key2]=values
Example 2: cpp vector structure
#include <vector>
typedef struct test1 {
int a;
char b;
} TOTO;
std::vector<TOTO> _v;
_v.push_back((TOTO){10, 'a'});
_v[0].a = 101;