会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
g055140
博客园
首页
新随笔
联系
订阅
管理
2024年12月22日
实验六
摘要: Task4 Vector.hpp: 1 #ifndef VECTOR_HPP 2 #define VECTOR_HPP 3 4 #include <iostream> 5 #include <exception> 6 7 template <typename T> 8 class Vector {
阅读全文
posted @ 2024-12-22 16:30 瑞思白
阅读(7)
评论(0)
推荐(0)
2024年12月6日
实验五
摘要: Task3: 1 #ifndef PETS_HPP 2 #define PETS_HPP 3 4 #include <string> 5 6 class MachinePets { 7 private: 8 std::string nickname; 9 10 public: 11 MachineP
阅读全文
posted @ 2024-12-06 16:33 瑞思白
阅读(26)
评论(0)
推荐(0)
2024年11月24日
实验四
摘要: Task2: 1 Gradecalc.cpp: 2 #include <iostream> 3 #include <vector> 4 #include <string> 5 #include <algorithm> 6 #include <numeric> 7 #include <iomanip>
阅读全文
posted @ 2024-11-24 19:19 瑞思白
阅读(19)
评论(0)
推荐(0)
2024年11月4日
实验3
摘要: task1: 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 public: 12
阅读全文
posted @ 2024-11-04 17:26 瑞思白
阅读(16)
评论(0)
推荐(0)
2024年10月9日
oop实验1
摘要: task1: 1 // 现代C++标准库、算法库体验 2 // 本例用到以下内容: 3 // 1. 字符串string, 动态数组容器类vector、迭代器 4 // 2. 算法库:反转元素次序、旋转元素 5 // 3. 函数模板、const引用作为形参 6 7 #include <iostream
阅读全文
posted @ 2024-10-09 09:31 瑞思白
阅读(20)
评论(0)
推荐(0)
公告