There is always a work-around. You can try this as well . . .
A vector of vectors will give you the same results. Each vector can then contain two or more of whatever - the big iterator is for walking the vector of vectors, and the little iterator is for walking the individual vectors as you access them.Code:#include <vector> using namespace std; typedef vector<int> vec; // or whatever the type you like typedef vector<vec> vec_vec typedef vec::iterator _vec; typedef vec_vec::iterator _vec_vec;
Perfect Health and Clarity of Mind,
--Victor




Reply With Quote