摘要: task3: task3.1 源码: 1 #include<iostream> 2 #include<fstream> 3 #include<array> 4 #define N 5 5 int main() { 6 using namespace std; 7 array<int, N> x{ 9 阅读全文
posted @ 2022-12-05 14:27 RICHENGG 阅读(27) 评论(0) 推荐(0) 编辑
摘要: task4. pets.hpp: 1 #pragma once 2 #include<iostream> 3 #include<string> 4 using namespace std; 5 class MachinePets { 6 public: 7 MachinePets() = defau 阅读全文
posted @ 2022-11-27 16:51 RICHENGG 阅读(17) 评论(0) 推荐(0) 编辑
摘要: 实验任务5 代码: vectorInt.hpp: 1 #pragma once 2 #include<iostream> 3 #include<cassert> 4 using namespace std; 5 class vectorInt { 6 int size, * p; 7 public: 阅读全文
posted @ 2022-11-07 19:43 RICHENGG 阅读(9) 评论(0) 推荐(0) 编辑
摘要: 实验任务五 info.hpp: 1 #pragma once 2 #include<iostream> 3 #include<iomanip> 4 using namespace std; 5 class info { 6 string nickname; 7 string contact; 8 s 阅读全文
posted @ 2022-10-22 16:57 RICHENGG 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 实验任务4 Complex.hpp文件源码: 1 #pragma once 2 #include<iostream> 3 using namespace std; 4 class Complex { 5 public: 6 Complex(); 7 Complex(double real0, dou 阅读全文
posted @ 2022-10-13 10:31 RICHENGG 阅读(28) 评论(0) 推荐(0) 编辑
摘要: 实验任务二 1 #include<iostream> 2 3 using std::cout; 4 using std::cin; 5 using std::endl; 6 class Point { 7 public: 8 Point(int x0 = 0, int y0 = 0); 9 Poin 阅读全文
posted @ 2022-10-03 21:35 RICHENGG 阅读(16) 评论(0) 推荐(0) 编辑
摘要: #include<iostream> using namespace std; int main() { cout<<"https://www.cnblogs.com/zzzys/"; } 阅读全文
posted @ 2022-09-27 23:23 RICHENGG 阅读(48) 评论(0) 推荐(0) 编辑