会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
liyatong
博客园
首页
新随笔
联系
订阅
管理
2025年11月30日
实验四
摘要: task1: Gradecalc.hpp #pragma once #include <vector> #include <array> #include <string> class GradeCalc { public: GradeCalc(const std::string &cname);
阅读全文
posted @ 2025-11-30 21:46 彤彤酱
阅读(6)
评论(1)
推荐(0)
2025年11月22日
实验三
摘要: task1: button.hpp #pragma once #include <iostream> #include <string> class Button { public: Button(const std::string &label_); const std::string& get_
阅读全文
posted @ 2025-11-22 19:12 彤彤酱
阅读(13)
评论(1)
推荐(0)
2025年10月28日
实验二
摘要: task1: 代码组织: T.h 内容:类T的声明、友元函数声明 T.cpp 内容:类T的实现、友元函数实现 task1.cpp 内容:测试模块、main函数 T.h : #pragma once #include <string> // 类T: 声明class T { // 对象属性、方法 pub
阅读全文
posted @ 2025-10-28 21:11 彤彤酱
阅读(12)
评论(1)
推荐(0)
2025年10月13日
实验一
摘要: 任务一: 源代码task1.cpp #include <iostream> #include <string> #include <vector> #include <algorithm> // 模板函数声明 template<typename T> void output(const T &c);
阅读全文
posted @ 2025-10-13 21:21 彤彤酱
阅读(18)
评论(1)
推荐(0)
公告