会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
tt3n
博客园
首页
新随笔
联系
订阅
管理
2024年12月16日
实验6 C++
摘要: 任务四: Vector.hpp #pragma once #include <iostream> #include <stdexcept> using namespace std; template <typename T> class Vector { public: Vector(int n,
阅读全文
posted @ 2024-12-16 21:44 Tt3n
阅读(15)
评论(0)
推荐(0)
2024年12月2日
实验5 C++
摘要: 任务三: pets.hpp 1 #pragma once 2 #include <iostream> 3 #include <string> 4 5 using namespace std; 6 7 class MachinePets{ 8 private: 9 string nickname; 1
阅读全文
posted @ 2024-12-02 21:33 Tt3n
阅读(31)
评论(0)
推荐(0)
2024年11月19日
实验4 C++
摘要: 任务2: GradeCalc.cpp 1 #pragma once 2 #include <iostream> 3 #include <vector> 4 #include <string> 5 #include <algorithm> 6 #include <numeric> 7 #include
阅读全文
posted @ 2024-11-19 16:42 Tt3n
阅读(38)
评论(0)
推荐(0)
2024年11月5日
实验3 c++
摘要: 任务1: button.hpp: 1 #pragma once 2 3 #include <iostream> 4 #include <string> 5 6 using std::string; 7 using std::cout; 8 9 // 按钮类 10 class Button { 11
阅读全文
posted @ 2024-11-05 15:04 Tt3n
阅读(31)
评论(0)
推荐(0)
2024年10月23日
实验2 C++
摘要: 任务1: t.h 1 #pragma once 2 3 #include <string> 4 5 // 类T: 声明 6 class T { 7 // 对象属性、方法 8 public: 9 T(int x = 0, int y = 0); // 普通构造函数 10 T(const T &t);
阅读全文
posted @ 2024-10-23 21:26 Tt3n
阅读(41)
评论(0)
推荐(0)
2024年10月10日
实验1 c++
摘要: 任务1: task1.cpp 1 #include <iostream> 2 #include <string> 3 #include <vector> 4 #include <algorithm> 5 6 using namespace std; 7 8 // 声明 9 // 模板函数声明 10
阅读全文
posted @ 2024-10-10 14:05 Tt3n
阅读(25)
评论(0)
推荐(0)
公告