• 2022-11-09实验四
    vectorInt.hpp#pragmaonce#include<iostream>#include<cassert>usingnamespacestd;classvectorInt{public:vectorInt(intn);vectorInt(intn,in
  • 2022-11-09实验四
    #include<iostream>#include<vector>#include<string>usingnamespacestd;classvectorInt{public:vectorInt();vectorInt(intn);
  • 2022-11-09实验四
    #pragmaonce#include<iostream>usingnamespacestd;classvectorInt{public:vectorInt(intn);vectorInt(intn,intvalue);vectorInt(constvect
  • 2022-11-09实验四
    实验任务5:vectorInt.hpp#pragmaonce#include<bits/stdc++.h>usingnamespacestd;classvectorInt{public:vectorInt(intn);vectorInt(intn,intv
  • 2022-11-08实验四 类与数组、指针
    任务五代码:vectorInt:#pragmaonce#include<iostream>#include<cassert>usingnamespacestd;classVectorInt{public:VectorInt(ints);
  • 2022-11-08实验四
    1cpp#include<iostream>#include"point.hpp"#include<vector>usingnamespacestd;voidtest1(){intn;cin>>n;vector<Point>x(n);x.