#include #include #include #include using namespace std; int main(int argc, char** argv) { vector myVector; for (int i = 0; i < 10; i++) { myVector.push_back(i); } // print the contents of the vector copy(myVector.begin(), myVector.end(), ostream_iterator(cout, " ")); cout << endl; }