摘要:
vector::assign()用法: 1 #include "stdafx.h" 2 #include <iostream> 3 #include <vector> 4 using namespace std; 5 6 int _tmain(int argc, _TCHAR* argv[]) 7 { 8 int num[]={1,2,3,4,5}; 9 vector<int> vec1(num,num+sizeof(num)/sizeof(int));10 ostream_iterator<int> output(cout, 阅读全文
posted @ 2012-07-31 16:56
萧敬
阅读(124)
评论(0)
推荐(0)


浙公网安备 33010602011771号