迭代器
1.输出流迭代器
ostream_iterator <int ,char> osi(cout," ");
copy(MyTestContain.begin(),MyTestContain.end(),osi);
cout<<endl;
但是输出的格式,有点怪啊!
posted on 2013-08-06 17:50 shoutcharter 阅读(95) 评论(0) 编辑 收藏 举报
1.输出流迭代器
ostream_iterator <int ,char> osi(cout," ");
copy(MyTestContain.begin(),MyTestContain.end(),osi);
cout<<endl;
但是输出的格式,有点怪啊!
posted on 2013-08-06 17:50 shoutcharter 阅读(95) 评论(0) 编辑 收藏 举报