I have declared a map, which includes an int value and a two-dimensional vector, also:
std::map<int, vector < vector <int> > > mymap;
I want to use an iterator to point to a cell from my vector.
std::map<int, vector < vector <int> > >::iterator it;
After that I know that with the command it->second, I point to the whole vector, but how to point to a cell in the vector?
No.Isn't so simple :D The programm crashed. I have tried many times.
Thank you a lot, JLBorges! It works with your help! :) Have a nice evening!