会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
qjj12-30
博客园
首页
新随笔
联系
订阅
管理
2022年12月
实验六
摘要: #include <iostream> #include <fstream> #include <array> #define N 5 int main() { using namespace std; array<int, N> x {97, 98, 99, 100, 101}; ofstream
阅读全文
posted @ 2022-12-01 22:12 saddwda
阅读(34)
评论(0)
推荐(0)
2022年11月
实验五
摘要: #include<iostream> #include<string> using namespace std; class MachinePets{ public: MachinePets(const string s):Nickname(s){} const string getNickname
阅读全文
posted @ 2022-11-29 22:06 saddwda
阅读(22)
评论(0)
推荐(0)
实验四
摘要: #include <iostream> #include <vector> #include <string> using namespace std; class vectorInt { public: vectorInt(); vectorInt(int n); vectorInt(int n,
阅读全文
posted @ 2022-11-09 11:39 saddwda
阅读(27)
评论(0)
推荐(0)
2022年10月
实验三
摘要: #include <iostream> #include"info.hpp" #include <vector> #include <string> #include<iomanip> using namespace std; int main() { const int capacity = 10
阅读全文
posted @ 2022-10-25 17:57 saddwda
阅读(20)
评论(0)
推荐(0)
实验二
摘要: 任务四 类的定义 using namespace std; class Complex{ public: Complex(double r = 0, double i = 0){ real = r; imag = i; } Complex(Complex &c){ real = c.real; im
阅读全文
posted @ 2022-10-17 20:50 saddwda
阅读(24)
评论(0)
推荐(0)
2022年9月
个人主页地址
摘要: https://www.cnblogs.com/qjj12-30/
阅读全文
posted @ 2022-09-29 21:30 saddwda
阅读(10)
评论(0)
推荐(0)
实验一
摘要: #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-29 19:31 saddwda
阅读(21)
评论(0)
推荐(0)
公告