会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
mxh999
博客园
首页
新随笔
联系
订阅
管理
2024年12月18日
实验6
摘要: 任务四 Vector.hpp #pragma once #include <iostream> #include<stdexcept> using namespace std; template<typename T> class Vector{ public: Vector(int n,int v
阅读全文
posted @ 2024-12-18 14:56 孟潇辉
阅读(8)
评论(0)
推荐(0)
2024年12月3日
实验五
摘要: 任务三 pets.hpp #pragma once #include <iostream> #include <string> using namespace std; class MachinePets{ public: MachinePets(const string &m):nickname{
阅读全文
posted @ 2024-12-03 21:34 孟潇辉
阅读(12)
评论(0)
推荐(0)
2024年11月25日
实验四
摘要: 任务二 GradeCalc.hpp #include <iostream> #include <vector> #include <string> #include <algorithm> #include <numeric> #include <iomanip> using std::vector
阅读全文
posted @ 2024-11-25 11:19 孟潇辉
阅读(9)
评论(0)
推荐(0)
2024年11月10日
实验三
摘要: 任务一 button.hpp #pragma once #include <iostream> #include <string> using std::string; using std::cout; // 按钮类 class Button { public: Button(const strin
阅读全文
posted @ 2024-11-10 20:31 孟潇辉
阅读(12)
评论(0)
推荐(0)
2024年10月29日
实验二
摘要: 任务一: t.cpp // 类T: 实现 // 普通函数实现 #include "t.h" #include <iostream> #include <string> using std::cout; using std::endl; using std::string; // static成员数据
阅读全文
posted @ 2024-10-29 18:42 孟潇辉
阅读(37)
评论(0)
推荐(0)
2024年10月13日
实验一
摘要: 任务1 #include <algorithm> #include <iostream> #include <string> #include <vector> using namespace std; // 声明 // 模板函数声明 template <typename T> void outpu
阅读全文
posted @ 2024-10-13 17:50 孟潇辉
阅读(5)
评论(0)
推荐(0)
公告