会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
gzj035
博客园
首页
新随笔
联系
订阅
管理
2022年12月
实验6
摘要: 实验6.3 task3.1 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> x
阅读全文
posted @ 2022-12-03 11:23 ~GZJ
阅读(24)
评论(0)
推荐(0)
2022年11月
实验5
摘要: 实验5.4 pets.hpp 1 #pragma once 2 #include <iostream> 3 #include <string> 4 using namespace std; 5 class MachinePets{ 6 public: 7 MachinePets(const stri
阅读全文
posted @ 2022-11-28 13:03 ~GZJ
阅读(21)
评论(0)
推荐(0)
实验4
摘要: 实验4.5: vectorInt.hpp 1 #include <iostream> 2 using namespace std; 3 class vectorInt{ 4 public: 5 vectorInt(int n); 6 vectorInt(int n,int value); 7 vec
阅读全文
posted @ 2022-11-05 18:02 ~GZJ
阅读(11)
评论(0)
推荐(0)
2022年10月
实验3
摘要: 实验3.5 Info.hpp 1 #include <iostream> 2 #include <string> 3 #include <iomanip> 4 using namespace std; 5 class Info{ 6 public: 7 Info(string name,string
阅读全文
posted @ 2022-10-22 22:26 ~GZJ
阅读(17)
评论(0)
推荐(0)
实验2
摘要: 实验2.4 hpp: 1 #pragma once 2 #include <iostream> 3 #include <cmath> 4 using namespace std; 5 class Complex{ 6 public: 7 Complex(double a=0,double b=0):
阅读全文
posted @ 2022-10-16 14:30 ~GZJ
阅读(24)
评论(0)
推荐(0)
2022年9月
实验1
摘要: 实验1.2 1 #include <iostream> 2 using std::cout; 3 using std::endl; 4 class Point{ 5 public: 6 Point(int x0=0,int y0=0); 7 Point(const Point& p); 8 ~Poi
阅读全文
posted @ 2022-09-30 11:52 ~GZJ
阅读(78)
评论(0)
推荐(0)
实验1.1熟悉string和vector
摘要: #include <iostream> #include <string> #include <vector> int main() { using namespace std; string s1; string s2{"c plus plus"}; string s3{s2}; string s
阅读全文
posted @ 2022-09-28 16:44 ~GZJ
阅读(21)
评论(0)
推荐(0)
公告