MaskerQwQ

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2022年12月2日

摘要: 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-02 14:23 MaskerQwQ 阅读(23) 评论(0) 推荐(0) 编辑

2022年11月30日

摘要: task4: task4.cpp #include <iostream> #include "pets.hpp" void play(MachinePets &obj) { std::cout << obj.get_nickname() << " says " << obj.talk() << st 阅读全文
posted @ 2022-11-30 12:49 MaskerQwQ 阅读(16) 评论(0) 推荐(0) 编辑

2022年11月8日

摘要: task5: vectorInt.hpp: #pragma once #include<bits/stdc++.h> #include<iomanip> using namespace std; class vectorInt{ public: vectorInt(int num):size{num 阅读全文
posted @ 2022-11-08 22:09 MaskerQwQ 阅读(15) 评论(0) 推荐(0) 编辑

2022年10月25日

摘要: TASK 5: info.hpp #pragma once #include<iostream> #include<string> #include<iomanip> #include<vector> using namespace std; class info{ public: info(str 阅读全文
posted @ 2022-10-25 22:54 MaskerQwQ 阅读(46) 评论(0) 推荐(0) 编辑

2022年10月17日

摘要: task4: Complex.hpp: 1 #pragma once 2 3 #include<iostream> 4 #include<cmath> 5 6 using std::cout; 7 using std::endl; 8 9 class Complex{ 10 public: 11 C 阅读全文
posted @ 2022-10-17 22:58 MaskerQwQ 阅读(21) 评论(0) 推荐(0) 编辑

2022年10月12日

摘要: https://www.cnblogs.com/MaskerQwQ/ 阅读全文
posted @ 2022-10-12 15:26 MaskerQwQ 阅读(12) 评论(0) 推荐(0) 编辑

2022年9月30日

摘要: 实验任务二: #include<bits/stdc++.h> using namespace std; class Point{ public: Point(int x0=0,int y0=0); Point(const Point &p); ~Point()=default; int get_x( 阅读全文
posted @ 2022-09-30 12:09 MaskerQwQ 阅读(11) 评论(0) 推荐(0) 编辑