会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
lee404error
博客园
首页
新随笔
联系
订阅
管理
2022年12月4日
实验六
摘要: 实验三 task3_1.cpp 1 #include <iostream> 2 #include <fstream> 3 #include <array> 4 #define N 5 5 6 int main() { 7 using namespace std; 8 9 array<int, N>
阅读全文
posted @ 2022-12-04 21:37 摆烂青年
阅读(16)
评论(0)
推荐(0)
编辑
2022年11月29日
实验五
摘要: 实验四 pets.hpp 1 #pragma once 2 #include<iostream> 3 #include<string> 4 using namespace std; 5 class MachinePets { 6 public: 7 MachinePets()=default; 8
阅读全文
posted @ 2022-11-29 19:08 摆烂青年
阅读(9)
评论(0)
推荐(0)
编辑
2022年11月7日
实验四
摘要: 实验任务5 vectorInt.hpp 1 #pragma once 2 #include<iostream> 3 #include<cassert> 4 using namespace std; 5 6 class vectorInt { 7 public: 8 vectorInt(int n);
阅读全文
posted @ 2022-11-07 23:40 摆烂青年
阅读(7)
评论(0)
推荐(0)
编辑
2022年10月24日
实验3
摘要: task5 Info.h 1 #pragma once 2 #include <iostream> 3 #include <vector> 4 #include <string> 5 using namespace std; 6 7 class info { 8 public: 9 info(str
阅读全文
posted @ 2022-10-24 23:10 摆烂青年
阅读(3)
评论(0)
推荐(0)
编辑
2022年10月18日
实验2 类和对象(2)
摘要: 实验任务4 Complex.hpp 1 #pragma once 2 #include<iostream> 3 #include<cmath> 4 5 using namespace std; 6 7 class Complex { 8 public: 9 10 Complex(double rea
阅读全文
posted @ 2022-10-18 20:18 摆烂青年
阅读(15)
评论(0)
推荐(0)
编辑
2022年10月4日
实验1 类和对象
摘要: 实验任务1 task1_1.cpp #include<iostream> #include<string> #include<vector> int main() { using namespace std; string s1; string s2{"c plus plus"}; string s
阅读全文
posted @ 2022-10-04 19:47 摆烂青年
阅读(14)
评论(0)
推荐(0)
编辑