#include<iostream>
#include<Vector>
using namespace std;
int main(){
Vector<int> first;
Vector<int> second(4,100);//100 100 100 100
Vector<int> third(second.first(),second.end());
//100 100 100 100
Vector<int> four(third);//100 100 100 100
int fiveArray[]={1,2,3,4};
Vector<int>five(fiveArray,fiveArray+sizeof()/sizeof(int));
//1 2 3 4
return 0;
}
Vector
最新推荐文章于 2024-10-21 23:08:42 发布