摘要: container<type> c; 输出语句为:copy(c.begin(), c.end(), ostream_iterator<type>(cout, " ")); 这句代码将依次向屏幕输出容器中的元素,元素之间用" "空格分开。 空格可以换成其他的C-Sty1e字符串。 需要使用<algor 阅读全文
posted @ 2018-09-11 19:24 朴者 阅读(494) 评论(0) 推荐(0) 编辑