Hello;
I need to know how to declare a vector of vectors and how to access.
vector <int> int_vec;
#need a vector containing vectors.
Then I need to do
int_vec.push_back(integer);
int_vec.push_back(integer2);
vector_Containing vectors.push_back(int_vec);
clear int_vec for use again
Also, how do I reference the integer now
ie The integer in container vector position 0 and integer vector position 1.
Thanks



LinkBack URL
About LinkBacks


