11 2022 档案
摘要:实验任务3: task3_1.cpp #include <iostream> #include <fstream> #include <array> #define N 5 int main() { using namespace std; array<int, N> x {97, 98, 99,
阅读全文
摘要:实验任务4: pets.hpp: #include <iostream> #include<string.h> using namespace std; class MachinePets { private: string nickname; public: MachinePets(const s
阅读全文
摘要:实验任务5: vectorint: #include<iostream> using namespace std; class vectorInt { public: vectorInt(int n) :size{ n } { p = new int[n]; cout << "constructor
阅读全文

浙公网安备 33010602011771号