can you use pointers to iterate vectors code example
Example: c++ iterate over vector of pointers
for (vector<int Type>:: iter = myVector.begin(); iter != myVector.end(); iter++)
(*iter)->display();
for (vector<int Type>:: iter = myVector.begin(); iter != myVector.end(); iter++)
(*iter)->display();