I am trying to display the contents of a vector.
The vector is defined from a class I created.
vector <myClass> myList;
My question is how do I find out what's in myList? I have tried the
cout<<but the operands are not recognized. I even tried a for loop, however that is not the correct way for vectors with class objects.
Any help would be greatly appreciated. Thanks.

New Topic/Question
Reply




MultiQuote







|