• 博客园logo
  • 会员
  • 周边
  • 新闻
  • 博问
  • 闪存
  • 众包
  • 赞助商
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






jyksblog

 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理

2022年12月6日

实验六 模板类和文件IO
摘要: 1.1 Vector.hpp: #include <iostream> #include <string> #include <iomanip> using namespace std; template <class T> class Vector { public: Vector(int n) 阅读全文
posted @ 2022-12-06 18:38 炑~ 阅读(32) 评论(0) 推荐(0)
 

2022年11月29日

实验五 多态和继承
摘要: 实验内容: 1.1.MachinePets.hpp: #include <iostream> #include <string> using namespace std; class MachinePets { public: MachinePets() {} MachinePets(const s 阅读全文
posted @ 2022-11-29 14:46 炑~ 阅读(25) 评论(0) 推荐(0)
 

2022年11月3日

实验四 类与数组,指针
摘要: 一、实验结论: 1.实验任务5: vectorint.hpp: #include <iostream> #include <iomanip> using namespace std; class vectorint { public: vectorint(int n) : size{n} { cou 阅读全文
posted @ 2022-11-03 18:10 炑~ 阅读(55) 评论(0) 推荐(0)
 

2022年10月21日

实验3 数组、指针与现代C++标准库
摘要: 一.实验结论: 1.实验任务5: Info.hpp: #include <iostream> #include <string> #include <iomanip> using namespace std; class Info { public: Info() {} Info(string x, 阅读全文
posted @ 2022-10-21 20:58 炑~ 阅读(43) 评论(0) 推荐(0)
 

2022年10月16日

实验2 类与对象(2)
摘要: 一、实验内容: 实验任务4: 1.Complex.hpp: #include <iostream> #include <cmath> using namespace std; class Complex { public: Complex(double x = 0, double y = 0) : 阅读全文
posted @ 2022-10-16 16:24 炑~ 阅读(40) 评论(0) 推荐(0)
 

2022年10月2日

实验一 类与对象
摘要: #include<iostream> #include<string> #include<vector> int main() { using namespace std; string s1; string s2{"c plus plus"}; string s3{s2}; string s4=s 阅读全文
posted @ 2022-10-02 15:18 炑~ 阅读(19) 评论(0) 推荐(0)
 

2022年9月27日

个人主页地址
摘要: https://www.cnblogs.com/jyksblog/ 阅读全文
posted @ 2022-09-27 22:37 炑~ 阅读(46) 评论(0) 推荐(0)