2021年12月11日
摘要: 实验任务2 "Person.hpp" 1 #ifndef _PERSON 2 #define _PERSON 3 4 #include <iostream> 5 #include <string> 6 #include <iomanip> 7 using namespace std; 8 9 cla 阅读全文
posted @ 2021-12-11 22:12 Yukito0209 阅读(16) 评论(2) 推荐(0) 编辑
  2021年11月24日
摘要: 实验任务3 "battery.hpp" 1 #ifndef TEST01_BATTERY_HPP 2 #define TEST01_BATTERY_HPP 3 4 #include <iostream> 5 using namespace std; 6 7 class Battery { 8 pub 阅读全文
posted @ 2021-11-24 19:51 Yukito0209 阅读(8) 评论(3) 推荐(0) 编辑
  2021年11月6日
摘要: 实验任务4 "vector_int.hpp" 1 #include <iostream> 2 #include <cassert> 3 using namespace std; 4 5 class Vector_int { 6 public: 7 Vector_int(int n); 8 Vecto 阅读全文
posted @ 2021-11-06 13:34 Yukito0209 阅读(23) 评论(3) 推荐(0) 编辑
  2021年10月30日
摘要: 实验任务5 "info.hpp" #include <iostream> #include <string> using namespace std; class Info { public: Info (string nina, string con, string ci, int num = 0 阅读全文
posted @ 2021-10-30 10:33 Yukito0209 阅读(10) 评论(3) 推荐(1) 编辑
  2021年10月24日
摘要: 实验任务3 "Complex.hpp": #include<iostream> #include<cmath> using namespace std; class Complex { public: Complex (double a = 0.0,double b = 0.0): real{a}, 阅读全文
posted @ 2021-10-24 17:52 Yukito0209 阅读(29) 评论(3) 推荐(0) 编辑