I am using vectors for maintaining a sorted list, I am fine with using iterators and vectors but I want to 2 indices for each node of the vector. Can someone help me with this please.
What the... you want 2 separate indices for each element of a vector? What's the point?
If you are making a wrapper class for the vector, you can overload the subscript operator to get that behavior, I guess...