/* Exercise 4.1.1 Exercise 4.1.1: Write a STL program that declares a vector of integer values, stores five arbitrary values in the vector and then prints the single vector elements to cout. */ #include #include #include using namespace std; typedef ostream_iterator IntOstreamIt; void main() { vector v; IntOstreamIt OstreamIt(cout," "); cout<<"Enter five integer values terminated with ENTER"<>input; v.push_back(input); } copy(v.begin(), v.end(), OstreamIt); cout<<"\n\nPress any key to exit..."<