摘要: Task3: task3_1.cpp #include <iostream> #include <fstream> #include <array> #define N 5 int main() { using namespace std; array<int, N> x{ 97, 98, 99, 阅读全文
posted @ 2022-12-07 00:33 只是LL 阅读(24) 评论(0) 推荐(0) 编辑
摘要: Task4 pets.hpp #pragma once #include<iostream> #include<string> using namespace std; class MachinePets { public: MachinePets(const string s):nickname( 阅读全文
posted @ 2022-11-30 10:42 只是LL 阅读(10) 评论(0) 推荐(0) 编辑
摘要: task5 vectorint.hpp #pragma once #include<iostream> #include<cassert> using namespace std; class vectorint { public: vectorint(){}; vectorint(int n); 阅读全文
posted @ 2022-11-08 23:04 只是LL 阅读(15) 评论(0) 推荐(0) 编辑
摘要: task5: Info.hpp #pragma once #include<iostream> #include<string> #include<iomanip> using namespace std; class Info { public: Info(string nick,string c 阅读全文
posted @ 2022-10-26 00:02 只是LL 阅读(20) 评论(0) 推荐(1) 编辑
摘要: #include<iostream> using std::cout; using std::endl; class Point{ public: Point(int x0=0,int y0=0); Point(const Point& p); ~Point()=default; int get_x 阅读全文
posted @ 2022-10-03 23:51 只是LL 阅读(17) 评论(0) 推荐(0) 编辑