#include #include // for iota #include #include using namespace std; int main() { vector v(10); iota(v.begin(), v.end(), 11); vector::iterator p; for ( p = v.begin(); p != v.end(); p++ ){ cout << *p << " "; } cout << endl; return 0; }