会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
rssn
博客园
首页
新随笔
联系
订阅
管理
随笔 - 6
文章 - 0
评论 - 0
阅读 -
163
2023年12月16日
实验6 模板类、文件I/O和异常处理
摘要: 实验任务4 Vector.hpp 1 #pragma once 2 3 #include <iostream> 4 #include <stdexcept> 5 6 using namespace std; 7 8 template <typename T> 9 10 class Vector {
阅读全文
posted @ 2023-12-16 18:30 rssn
阅读(26)
评论(0)
推荐(0)
2023年12月3日
实验5 继承和多态
摘要: 实验任务3 pets.hpp 1 #pragma once 2 3 #include <iostream> 4 #include <string> 5 6 using std::cout; 7 using std::endl; 8 using std::string; 9 10 class Mach
阅读全文
posted @ 2023-12-03 21:09 rssn
阅读(15)
评论(0)
推荐(0)
2023年11月28日
实验4 现代C++标准库与类模板
摘要: 实验任务5 TextCoder.hpp 1 #pragma once 2 3 #include <iostream> 4 #include <string> 5 6 using namespace std; 7 8 class TextCoder { 9 private: 10 string tex
阅读全文
posted @ 2023-11-28 20:10 rssn
阅读(36)
评论(0)
推荐(0)
2023年11月4日
实验3 类与数组、指针
摘要: 实验任务1 Point.hpp 1 #pragma once 2 3 #include <iostream> 4 using std::cout; 5 using std::endl; 6 7 class Point { 8 public: 9 Point(int x0 = 0, int y0 =
阅读全文
posted @ 2023-11-04 11:33 rssn
阅读(25)
评论(0)
推荐(0)
2023年10月23日
实验2 类和对象_基础编程2
摘要: 实验任务1 方式1 main.cpp 1 #include "t.h" 2 3 // 测试 4 void test() { 5 cout << "T class info: " << T::doc << endl; 6 cout << "T objects max_count: " << T::ma
阅读全文
posted @ 2023-10-23 09:59 rssn
阅读(17)
评论(0)
推荐(0)
2023年10月18日
实验1 类和对象_基础编程1
摘要: 实验任务1 task1.cpp 1 // 标准库string,vector,array基础用法 2 3 #include <iostream> 4 #include <string> 5 #include <vector> 6 #include <array> 7 8 //函数模板 9 //对满足特
阅读全文
posted @ 2023-10-18 15:41 rssn
阅读(44)
评论(0)
推荐(0)
公告
昵称:
rssn
园龄:
1年9个月
粉丝:
0
关注:
0
+加关注
<
2025年7月
>
日
一
二
三
四
五
六
29
30
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
1
2
3
4
5
6
7
8
9
搜索
常用链接
我的随笔
我的评论
我的参与
最新评论
我的标签
随笔档案
2023年12月(2)
2023年11月(2)
2023年10月(2)
阅读排行榜
1. 实验1 类和对象_基础编程1(44)
2. 实验4 现代C++标准库与类模板(36)
3. 实验6 模板类、文件I/O和异常处理(26)
4. 实验3 类与数组、指针(25)
5. 实验2 类和对象_基础编程2(17)
点击右上角即可分享