c++ stl containers

luis_solis@terra.es luis_solis@terra.es
Sat Jan 10 21:42:00 GMT 2004


Hi
I'd like look at the values of a stl container, but I only acces the
direction, not the values, ie
vector<float> xy(2); xy[0]=2.; xy[1]=3.;
xy[0]=xy[0]+xy[1]+ some_function();
How I could look xy[0] value, or all the values of xy
Thanks
Luis



More information about the Gdb mailing list