Treatment of various dedicated Iterator

xiaoxiao2021-03-06  114

#include #include #include #include #include using namespace std; int main () {istream_iterator In (CIN), END Set Abc (in, end); Vector ver; copy (abc.begin (), abc.end (), back_inserter (Ver); copy (abc.begin (), abc.end () , Ostream_iterator (cout, ")); cout << end1; copy (ver.rbegin (), ver.rend (), ostream_iterator (cout,")); cout << endl; system ("pause"); return 0;}

转载请注明原文地址:https://www.9cbs.com/read-101793.html

New Post(0)