摘要: Guess what? I found a site that's giving Minecraft gift codes away for free! https://freeminecraftgiftcode.net 阅读全文
posted @ 2023-07-19 16:19 宇宙无敌纯爱暴龙战士 阅读(51) 评论(0) 推荐(0) 编辑
摘要: 1.实验3 task3_1.cpp 1 #include <iostream> 2 #include <fstream> 3 #include <array> 4 #define N 5 5 6 int main() { 7 using namespace std; 8 9 array<int, N 阅读全文
posted @ 2022-12-03 18:08 宇宙无敌纯爱暴龙战士 阅读(17) 评论(0) 推荐(0) 编辑
摘要: 1.实验4 pets.hpp 1 #include<iostream> 2 #include<string> 3 using namespace std; 4 class MachinePets{ 5 private: 6 string nickname; 7 public: 8 MachinePe 阅读全文
posted @ 2022-11-26 16:48 宇宙无敌纯爱暴龙战士 阅读(17) 评论(0) 推荐(0) 编辑
摘要: //vectorInt.hpp#include<iostream> using namespace std; class vectorInt{ private: int size; int *data; public: vectorInt(int n) { size=n; cout<<"constr 阅读全文
posted @ 2022-11-05 21:04 宇宙无敌纯爱暴龙战士 阅读(21) 评论(0) 推荐(0) 编辑
摘要: 实验五: Info.hpp 1 #include<iostream> 2 #include<string> 3 #include<iomanip> 4 using namespace std; 5 class Info 6 { 7 private: 8 string nickname; 9 stri 阅读全文
posted @ 2022-10-19 17:38 宇宙无敌纯爱暴龙战士 阅读(26) 评论(0) 推荐(0) 编辑
摘要: 1.实验四 Complex类的实现 1 #include<iostream> 2 #include<cmath> 3 using namespace std; 4 class Complex 5 { 6 private: 7 double real; 8 double imag; 9 public: 阅读全文
posted @ 2022-10-12 20:49 宇宙无敌纯爱暴龙战士 阅读(24) 评论(0) 推荐(0) 编辑
摘要: 实验2 1 #include <iostream> 2 using std::cout; 3 using std::endl; 4 class Point 5 6 { 7 public: 8 Point(int x0 = 0, int y0 = 0); 9 Point(const Point&p ) 阅读全文
posted @ 2022-09-28 21:06 宇宙无敌纯爱暴龙战士 阅读(14) 评论(0) 推荐(0) 编辑