会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
wgj123
博客园
首页
新随笔
联系
订阅
管理
2023年12月17日
实验六
摘要: #include <iostream> #include <stdexcept> template <typename T> class Vector { private: int size; T *vec; public: Vector<T>() = default; Vector<T>(int
阅读全文
posted @ 2023-12-17 22:46 呆胶布ovo
阅读(21)
评论(0)
推荐(0)
2023年11月30日
实验4
摘要: #include<iostream> #include<string> using std::string; class TextCoder { private: string text; void encoder(); void decoder(); public: TextCoder(strin
阅读全文
posted @ 2023-11-30 21:55 呆胶布ovo
阅读(15)
评论(0)
推荐(0)
2023年11月5日
实验3
摘要: #pragma once #include <iostream> using std::cout; using std::endl; class Point { public: Point(int x0 = 0, int y0 = 0); ~Point() = default; int get_x(
阅读全文
posted @ 2023-11-05 22:40 呆胶布ovo
阅读(20)
评论(0)
推荐(0)
2023年10月23日
实验2
摘要: 1 #ifndef T_H 2 #define T_H 3 4 #include <iostream> 5 #include <string> 6 7 using namespace std; 8 9 // 类T的声明 10 class T { 11 public: 12 T(int x = 0,
阅读全文
posted @ 2023-10-23 00:01 呆胶布ovo
阅读(36)
评论(0)
推荐(0)
公告