#include
#include
#include
#include
#include
using namespace std;
int main()
{
string s("Hello there");
vector vector1(s.begin(), s.end());
fill_n(vector1.begin() + 5, 3, 'Y');
vector::iterator pos;
for (pos=vector1.begin(); pos!=vector1.end(); ++pos) {
cout << *pos << ' ';
}
return 0;
}
H e l l o Y Y Y e r e