Answers for "c++ iterate over vector of pointers"

C++
0

c++ iterate over vector of pointers

for (vector<int Type>:: iter = myVector.begin(); iter != myVector.end(); iter++)
   (*iter)->display();
Posted by: Guest on March-09-2020

Browse Popular Code Answers by Language