can someone show me an example program that does this?
assignment: develop a program that uses the header #include <vector> to store at least 3 elements in a container.
Requirements:
Declare a vector and an iterator.
Use push_back to add an element.
You may use a vector <int> or a vector <string>
Use the begin() and end() methods in a for loop
Discover the capacity of your vector and the size of your container.
Finally use the reverse_iterator to reverse all the elements in the vector