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, 阅读全文
posted @ 2022-11-30 18:49 VV才不是小学生 阅读(46) 评论(0) 推荐(0)
摘要:实验任务4: pets.hpp: #include <iostream> #include<string.h> using namespace std; class MachinePets { private: string nickname; public: MachinePets(const s 阅读全文
posted @ 2022-11-26 10:15 VV才不是小学生 阅读(40) 评论(0) 推荐(0)
摘要:实验任务5: vectorint: #include<iostream> using namespace std; class vectorInt { public: vectorInt(int n) :size{ n } { p = new int[n]; cout << "constructor 阅读全文
posted @ 2022-11-02 17:10 VV才不是小学生 阅读(53) 评论(0) 推荐(0)