Search:

Type: Posts; User: alaa_137

Search: Search took 0.00 seconds.

  1. Oh thank you very much! I really mis used the []...

    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
  2. my_vec is a vector of maps. then the_vec[0] is...

    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...
  3. I don't have to do all that... I could use a...

    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...
  4. Iterating through a vector of maps and a map of vectors...

    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...
Results 1 to 4 of 4