2024年12月9日
摘要: 任务1: 1 #pragma once 2 3 #include <iostream> 4 #include <string> 5 6 using std::cout; 7 using std::endl; 8 using std::string; 9 10 // 发行/出版物类:Publisher 阅读全文
posted @ 2024-12-09 12:35 逐漸透明 阅读(2) 评论(0) 推荐(0) 编辑
  2024年11月24日
摘要: 任务二: GradeCalc.hpp: 1 #include <iostream> 2 #include <vector> 3 #include <string> 4 #include <algorithm> 5 #include <numeric> 6 #include <iomanip> 7 8 阅读全文
posted @ 2024-11-24 21:59 逐漸透明 阅读(1) 评论(0) 推荐(0) 编辑
  2024年11月11日
摘要: 任务1: button.hpp 1 #pragma once 2 3 #include <iostream> 4 #include <string> 5 6 using std::string; 7 using std::cout; 8 9 // 按钮类 10 class Button { 11 p 阅读全文
posted @ 2024-11-11 12:48 逐漸透明 阅读(4) 评论(0) 推荐(0) 编辑
  2024年10月30日
摘要: 实验任务1 t.cpp // 类T: 实现// 普通函数实现 #include "t.h"#include <iostream>#include <string> using std::cout;using std::endl;using std::string; // static成员数据类外初始 阅读全文
posted @ 2024-10-30 00:45 逐漸透明 阅读(7) 评论(0) 推荐(0) 编辑
  2024年10月15日
摘要: 任务1 // 现代C++标准库、算法库体验 // 本例用到以下内容: // 1. 字符串string, 动态数组容器类vector、迭代器 // 2. 算法库:反转元素次序、旋转元素 // 3. 函数模板、const引用作为形参 #include <iostream> #include <strin 阅读全文
posted @ 2024-10-15 21:41 逐漸透明 阅读(4) 评论(0) 推荐(0) 编辑