实验5 继承和多态
摘要:实验任务4 1 #pragma once 2 #include<iostream> 3 #include<string> 4 using namespace std; 5 6 class MachinePets { 7 private: 8 string nickname; 9 public: 10
阅读全文
posted @
2022-11-29 21:13
Terrence-Zhao
阅读(26)
推荐(0)
实验4 类与数组、指针
摘要:实验任务5 1 #pragma once 2 #include<iostream> 3 4 using std::cout; 5 using std::endl; 6 7 class vectorInt { 8 public: 9 //构造函数和析构函数 10 vectorInt(int n); 1
阅读全文
posted @
2022-11-05 20:56
Terrence-Zhao
阅读(27)
推荐(0)