#include <iostream>
#include <string>
#include <vector>
using namespace std;
using std::vector;
int main()
{
vector<int>v1(10);
cout << v1.size() << endl;
for (auto it = v1.begin(); it != v1.end(); ++it)
cout << *it << " ";
cout << endl;
system("pause");
return 0;
}
c++primer(第五版)3.21
最新推荐文章于 2023-04-24 22:01:05 发布