7 cout
<< "Fill of C array:\n";
10 fill (x
+1, x
+49, '*');
11 copy (x
, x
+50, ostream_iterator
<char>(cout
));
13 cout
<< "\nFill of vector<char>:\n";
16 cvec
.insert (cvec
.begin(), 50, '/');
17 fill (cvec
.begin()+1, cvec
.end()-1, '-');
18 copy (cvec
.begin(), cvec
.end(), ostream_iterator
<char>(cout
));