会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
zhd20030803
博客园
首页
新随笔
联系
订阅
管理
2024年12月24日
实验6
摘要: test: 点击查看代码 #pragma once #include <iostream> #include <stdexcept> using namespace std; template <typename T> class Vector { public: Vector(int n, int
阅读全文
posted @ 2024-12-24 11:06 灬灬zhang
阅读(13)
评论(0)
推荐(0)
2024年12月8日
实验5
摘要: 实验3 pets.hpp 点击查看代码 #pragma once #include<string> #include<iostream> using namespace std; class MachinePets { private: string nickname; public: Machin
阅读全文
posted @ 2024-12-08 22:16 灬灬zhang
阅读(17)
评论(0)
推荐(0)
2024年11月24日
实验四
摘要: 任务二 hpp 点击查看代码 #include <iostream> #include <vector> #include <string> #include <algorithm> #include <numeric> #include <iomanip> using std::vector; u
阅读全文
posted @ 2024-11-24 23:06 灬灬zhang
阅读(30)
评论(0)
推荐(0)
2024年11月10日
实验三
摘要: task1: button.hpp: 点击查看代码 #pragma once #include <iostream> #include <string> using std::string; using std::cout; // 按钮类 class Button { public: Button(
阅读全文
posted @ 2024-11-10 21:53 灬灬zhang
阅读(22)
评论(0)
推荐(0)
2024年10月29日
实验二
摘要: task1: 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 radio); void disp
阅读全文
posted @ 2024-10-29 20:51 灬灬zhang
阅读(17)
评论(0)
推荐(0)
2024年10月15日
实验一
摘要: task1.cpp 点击查看代码 #include <iostream> #include <string> #include <vector> #include <algorithm> using namespace std; template<typename T> void output(co
阅读全文
posted @ 2024-10-15 21:34 灬灬zhang
阅读(30)
评论(0)
推荐(0)
公告