摘要:
任务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 阅读全文
摘要:
任务二: GradeCalc.hpp: 1 #include <iostream> 2 #include <vector> 3 #include <string> 4 #include <algorithm> 5 #include <numeric> 6 #include <iomanip> 7 8 阅读全文
摘要:
任务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 阅读全文
摘要:
实验任务1 t.cpp // 类T: 实现// 普通函数实现 #include "t.h"#include <iostream>#include <string> using std::cout;using std::endl;using std::string; // static成员数据类外初始 阅读全文
摘要:
任务1 // 现代C++标准库、算法库体验 // 本例用到以下内容: // 1. 字符串string, 动态数组容器类vector、迭代器 // 2. 算法库:反转元素次序、旋转元素 // 3. 函数模板、const引用作为形参 #include <iostream> #include <strin 阅读全文