220011wan

导航

2022年12月1日 #

实验六

摘要: 1 #include <iostream> 2 #include <fstream> 3 #include <array> 4 #define N 5 5 6 int main() { 7 using namespace std; 8 array<char, N> x; 9 10 ifstream 阅读全文

posted @ 2022-12-01 15:46 或者明天 阅读(15) 评论(0) 推荐(0) 编辑

2022年11月26日 #

实验五

摘要: 1 #pragma once 2 #include<iostream> 3 using namespace std; 4 class MachinePets 5 { 6 public: 7 MachinePets(const string s); 8 string get_nickname(); 9 阅读全文

posted @ 2022-11-26 07:14 或者明天 阅读(8) 评论(0) 推荐(0) 编辑

2022年11月2日 #

实验四

摘要: 1 #pragma once 2 #include<iostream> 3 using namespace std; 4 class vectorInt 5 { 6 public: 7 friend void output(vectorInt& x); 8 vectorInt(int n); 9 v 阅读全文

posted @ 2022-11-02 20:51 或者明天 阅读(11) 评论(0) 推荐(0) 编辑

2022年10月19日 #

实验三

摘要: 1 #pragma once 2 #include<iostream> 3 #include<string> 4 #include<iomanip> 5 using namespace std; 6 class Info 7 { 8 public: 9 Info() 10 { 11 nickname 阅读全文

posted @ 2022-10-19 18:34 或者明天 阅读(18) 评论(0) 推荐(0) 编辑

2022年10月12日 #

实验二

摘要: 1 #pragma once 2 #include<iostream> 3 #include<cmath> 4 using namespace std; 5 class Complex 6 { 7 friend Complex add(Complex c1, Complex c2); 8 frien 阅读全文

posted @ 2022-10-12 18:39 或者明天 阅读(19) 评论(0) 推荐(0) 编辑

2022年9月28日 #

实验一作业

摘要: 1 #include <iostream> 2 using namespace std; 3 // 定义Point类 4 class Point 5 { 6 public: 7 Point(int x0 = 0, int y0 = 0); 8 Point(const Point &p); 9 ~Po 阅读全文

posted @ 2022-09-28 20:53 或者明天 阅读(12) 评论(0) 推荐(0) 编辑

2022年9月27日 #

my address

摘要: 或者明天 - 博客园 (cnblogs.com) 阅读全文

posted @ 2022-09-27 23:28 或者明天 阅读(5) 评论(0) 推荐(0) 编辑