This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

c++ stl containers


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]