to be done【STL】

reverse(a.begin(),a.end())
random_shuffle(a.begin(),a.end());
replace(v.begin(),v.begin()+3,0,9);

copy(dVector.begin(), dVector.end(), front_inserter(dList));
fstream
stringstream
back_insert_iterator<vector<int> >it;
copy(istream<int>(cin), istream<int>(), it);

 

 vector<int>v(4,0);
 const vector<int>::iterator it=++v.begin();
 vector<int>::const_iterator itt;
 itt=it;
itt++;
cout<<*it<<endl;

你可能感兴趣的:(to be done【STL】)