i am trying to pair a vector and an integer but


did not work??

what is "vector[j]" supposed to mean?

By definition of maps compare what are you doing right now and what do you want it to do.May be what you want is

map<vector<vector<int> >,int > m;
vector<vector<int> > vvi;
int i;

Hope it helps!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.