loop over vector of pointers c++ 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();