#include
#include
#include
using namespace std;
void show(int i)
{
cout << i << " ";
}
int main()
{
vector vectorObject;
int i;
for(i = 0; i <10; i++)
vectorObject.push_back(i);
cout << "Contents of vectorObject: ";
for_each(vectorObject.begin(), vectorObject.end(), show);
cout << endl;
return 0;
}