K
keithkerriekate
i have this
map<string,vector<int>>mv=x.begin();
i'd like to do this
map<string,vector<int>::iterator>itv=..something-i-don't-know-... to
access elements of vector using iterator
but this is impossible.
second,
i've tried this
map<string,vector<int>>mv=x.begin();
vector<int>::iterator it=mv->second->begin();
error is: no base pointer for second
thanks a lot, Keith
map<string,vector<int>>mv=x.begin();
i'd like to do this
map<string,vector<int>::iterator>itv=..something-i-don't-know-... to
access elements of vector using iterator
but this is impossible.
second,
i've tried this
map<string,vector<int>>mv=x.begin();
vector<int>::iterator it=mv->second->begin();
error is: no base pointer for second
thanks a lot, Keith