摘要: 实验3:类和对象_基础编程2 四、实验结论 1. 实验任务1 源代码 button.hpp #pragma once//一次编译 #include <iostream> #include <string> class Button { public: Button(const std::string 阅读全文
posted @ 2026-11-22 11:58 Morever11 阅读(13) 评论(0) 推荐(0)
摘要: 实验2:类和对象_基础编程1 四、实验结论 1. 实验任务1 源代码 t.h #pragma once #include <string> class T { public: T(int x = 0, int y = 0); T(const T &t); T(T &&t); ~T(); void a 阅读全文
posted @ 2026-11-20 00:56 Morever11 阅读(8) 评论(0) 推荐(0)
摘要: 实验1:现代 C++ 编程初体验 四、实验结论 1. 实验任务1 运行测试截图 问题与思考 reverse 和 reverse_copy 有什么区别? reverse和reverse_copy都是algorithm库中提供的算法。string通过begin和end取字符串的处理范围。 其中,reve 阅读全文
posted @ 2026-10-18 15:43 Morever11 阅读(17) 评论(0) 推荐(0)
摘要: test test 阅读全文
posted @ 2026-10-16 10:32 Morever11 阅读(11) 评论(0) 推荐(0)