#include <string>
#include <iostream>
#include<vector>
using namespace std;
int main()
{
vector<int> a(10,0);
for (size_t i = 0; i < a.size(); ++i)
{
a[i] = i+1;
}
}
C++primer习题4.9
最新推荐文章于 2024-09-10 19:16:08 发布
#include <string>
#include <iostream>
#include<vector>
using namespace std;
int main()
{
vector<int> a(10,0);
for (size_t i = 0; i < a.size(); ++i)
{
a[i] = i+1;
}
}