C++笔记 迭代器

 1 #include <stdio.h>
 2 #include <string>
 3 #include <iostream>
 4 #include <iterator>
 5 using namespace std;
 6 ostream_iterator < string > oo(cout);
 7 int main()
 8 {
 9      *oo="huhu";
10      oo++;
11      *oo=" hehe\n";
12 
13 
14     return 0;
15 }
原文地址:https://www.cnblogs.com/mengqingzhong/p/3049553.html