11 2022 档案
实验5 继承和多态
摘要:实验任务4 pets.hpp #pragma once #include <iostream> using std::string; class MachinePets { private: string nickname; public: MachinePets(const string s); 阅读全文
posted @ 2022-11-30 15:08 Duelist 阅读(35) 评论(0) 推荐(0)
实验4 类与数组、指针
摘要:实验任务5 vectorInt.hpp #pragma once #include <iostream> using namespace std; class vectorInt { private: int length; int *array; public: vectorInt(int n); 阅读全文
posted @ 2022-11-08 19:43 Duelist 阅读(20) 评论(0) 推荐(0)