#include
#include
#include
using namespace std;
int main()
{
vector v(10); // create a vector of length 10
vector::iterator p; // create an iterator
int i;
// assign elements in vector a value
p = v.begin();
i = 0;
while(p != v.end()) {
*p = i + 'a';
p++;
i++;
}
return 0;
}