#include
#include
#include
#include
using namespace std;
void print(int elem)
{
cout << elem << " ";
}
int main(int argc, char** argv)
{
vector myVector;
myVector.push_back(1);
myVector.push_back(2);
myVector.push_back(3);
myVector.push_back(4);
for_each(myVector.begin(), myVector.end(), &print);
transform(myVector.begin(), myVector.end(), myVector.begin(),bind2nd(plus(), 100));
for_each(myVector.begin(), myVector.end(), &print);
cout << endl;
return (0);
}