Oh thank you very much!
I really mis used the [] operator. It doesn't work the way I expected with vectors.
I fixed it, used push_back and all that...
Now it works just perfect :)
Thanks a lot
Type: Posts; User: alaa_137
Oh thank you very much!
I really mis used the [] operator. It doesn't work the way I expected with vectors.
I fixed it, used push_back and all that...
Now it works just perfect :)
Thanks a lot
my_vec is a vector of maps.
then the_vec[0] is the 1st map, the_vec[1] is the second, and so on...
the_vec contains 3 maps...
Besides, the first 'for' loop is ok, because I tried to print that and...
I don't have to do all that... I could use a Breakpoint... Much eaiser :)
But anyway,
I'm looking at the Autos... And man I see lotta weird stuff...
Hey guys get this...
I defined a vector of maps, like this:
typedef vector<map<string,unsigned int> > myvec;
And a map of vectors (i called it index) like this:
typedef...