会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
zx1229
博客园
首页
新随笔
联系
订阅
管理
2022年12月6日
实验六
摘要: 试验任务三 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-06 22:39 Z`x
阅读(28)
评论(0)
推荐(0)
2022年11月29日
实验五
摘要: 实验任务4pet.hpp 1 #pragma once 2 3 #include<iostream> 4 #include<string> 5 6 using namespace std; 7 8 class MachinePets { 9 public: 10 //MachinePets(){}
阅读全文
posted @ 2022-11-29 23:39 Z`x
阅读(31)
评论(0)
推荐(0)
2022年11月9日
实验四
摘要: 实验四 vectorInt.hpp 1 #pragma once 2 3 #include<iostream> 4 5 using namespace std; 6 7 class vectorInt { 8 public: 9 vectorInt(int a); 10 vectorInt(int
阅读全文
posted @ 2022-11-09 00:02 Z`x
阅读(16)
评论(0)
推荐(0)
2022年10月26日
实验(3)
摘要: 实验5 task_5.cpp 1 #include"info.hpp" 2 #include<vector> 3 //#include<iomanip> 4 5 int main(){ 6 using namespace std; 7 const int capacity = 100; 8 vect
阅读全文
posted @ 2022-10-26 08:46 Z`x
阅读(47)
评论(0)
推荐(0)
2022年10月17日
实验二 类和对象(2)
摘要: 实验任务4 task_4.cpp 1 #include "Complex.hpp" 2 #include <iostream> 3 4 // 类测试 5 void test() { 6 using namespace std; 7 8 Complex c1(6, -8); 9 const Compl
阅读全文
posted @ 2022-10-17 11:55 Z`x
阅读(32)
评论(0)
推荐(0)
2022年10月6日
实验1 类与对象(1)
摘要: 实验任务(1) task1_1 1 #include<iostream> 2 #include<string> 3 #include<vector> 4 int main() { 5 using namespace std; 6 string s1; 7 string s2{ "c plus plu
阅读全文
posted @ 2022-10-06 16:48 Z`x
阅读(13)
评论(0)
推荐(0)
公告