• 博客园logo
  • 会员
  • 周边
  • 新闻
  • 博问
  • 闪存
  • 众包
  • 赞助商
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
Nolan-Niko-077
博客园    首页    新随笔    联系   管理    订阅  订阅
2025年12月24日
实验06
摘要: 任务1 代码 utils.hpp #pragma once #include <fstream> #include <iostream> #include <stdexcept> #include <string> #include <vector> #include "contestant.hpp 阅读全文
posted @ 2025-12-24 02:10 NolanNiko 阅读(7) 评论(1) 推荐(0)
2025年12月17日
实验作业5
摘要: 实验任务1 代码 publisher.cpp #include <iostream> #include <string> #include "publisher.hpp" // Publisher类:实现 Publisher::Publisher(const std::string &name_): 阅读全文
posted @ 2025-12-17 02:25 NolanNiko 阅读(3) 评论(1) 推荐(0)
2025年12月3日
实验4
摘要: 实验1 代码 GradeCalc.hpp #pragma once #include <vector> #include <array> #include <string> class GradeCalc { public: GradeCalc(const std::string &cname); 阅读全文
posted @ 2025-12-03 01:38 NolanNiko 阅读(11) 评论(1) 推荐(0)
2025年11月26日
实验作业3
摘要: 实验三:类和对象基础编程2 实验任务1 代码 task1.cpp #include "window.hpp" #include <iostream> void test(){ Window w("Demo"); w.add_button("add"); w.add_button("remove"); 阅读全文
posted @ 2025-11-26 00:58 NolanNiko 阅读(8) 评论(1) 推荐(0)
2025年10月28日
实验作业2
摘要: 四、实验结论 实验内容1 代码1 T.cpp 1 #include "T.h" 2 #include <iostream> 3 #include <string> 4 5 // 类T实现 6 7 // static成员数据类外初始化 8 const std::string T::doc{"a sim 阅读全文
posted @ 2025-10-28 10:29 NolanNiko 阅读(14) 评论(1) 推荐(0)
2025年10月17日
实验作业1
摘要: 四、实验结论 实验任务1 代码1 1 // 现代C++标准库、算法库体验 2 // 本例用到以下内容: 3 // 1. 字符串string, 动态数组容器类vector、迭代器 4 // 2. 算法库:反转元素次序、旋转元素 5 // 3. 函数模板、const引用作为形参 6 #include < 阅读全文
posted @ 2025-10-17 20:26 NolanNiko 阅读(20) 评论(1) 推荐(1)
博客园  ©  2004-2026
浙公网安备 33010602011771号 浙ICP备2021040463号-3