会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
3ccc
博客园
首页
新随笔
联系
订阅
管理
2025年12月22日
实验六
摘要: 实验任务1 源代码如下: contestant.hpp 点击查看代码 #pragma once #include <iomanip> #include <iostream> #include <string> struct Contestant { long id; // 学号 std::strin
阅读全文
posted @ 2025-12-22 22:15 OSCR
阅读(5)
评论(1)
推荐(0)
2025年12月16日
实验五
摘要: 实验任务1 源代码如下: publisher.hpp 点击查看代码 #pragma once #include <string> class Publisher { public: Publisher(const std::string &name_ = ""); virtual ~Publishe
阅读全文
posted @ 2025-12-16 20:13 OSCR
阅读(6)
评论(1)
推荐(0)
2025年12月2日
实验四
摘要: 实验任务1 源代码如下: GradeCalc.hpp 点击查看代码 #pragma once #include <vector> #include <array> #include <string> class GradeCalc { public: GradeCalc(const std::str
阅读全文
posted @ 2025-12-02 16:34 OSCR
阅读(5)
评论(1)
推荐(0)
2025年11月25日
实验3
摘要: 实验任务1 源代码如下: button.hpp 点击查看代码 #pragma once #include <iostream> #include <string> class Button { public: Button(const std::string &label_); const std:
阅读全文
posted @ 2025-11-25 22:00 OSCR
阅读(4)
评论(1)
推荐(0)
2025年10月27日
实验二
摘要: 实验任务 源代码如下: 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 adjust(int ratio)
阅读全文
posted @ 2025-10-27 21:50 OSCR
阅读(14)
评论(1)
推荐(0)
2025年10月16日
实验一
摘要: 任务1 源代码: 点击查看代码 #include <iostream> #include <string> #include <vector> #include <algorithm> template<typename T> void output(const T &c); void test1(
阅读全文
posted @ 2025-10-16 23:47 OSCR
阅读(14)
评论(1)
推荐(0)
公告