会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
dingxincheng
博客园
首页
新随笔
联系
订阅
管理
2022年12月
实验六
摘要: task3_1.cpp #include<iostream> #include<fstream> #include<array> #define N 5 int main(){ using namespace std; array<int,N> x{97,98,99,100,101}; ofstre
阅读全文
posted @ 2022-12-06 23:34 丁鑫铖
阅读(28)
评论(0)
推荐(0)
2022年11月
实验五 继承和多态
摘要: pets.hpp源码 #include <iostream> #include<string.h> using namespace std; class MachinePets { private: string nickname; public: MachinePets(const string
阅读全文
posted @ 2022-11-28 19:05 丁鑫铖
阅读(32)
评论(0)
推荐(0)
实验4
摘要: 实验任务5 vectorlnt.hpp #pragma once #include<iostream> #include<cassert> using std::cout; class vectorInt { public: vectorInt(int n); vectorInt(int n, in
阅读全文
posted @ 2022-11-07 09:38 丁鑫铖
阅读(31)
评论(0)
推荐(0)
2022年10月
实验3
摘要: 实验任务5 Info.hpp文件源码 #include <iostream> #include <string> #include <iomanip> using namespace std; class Info{ public: Info(string name,string con,strin
阅读全文
posted @ 2022-10-23 20:07 丁鑫铖
阅读(29)
评论(0)
推荐(0)
实验2
摘要: 实验2.4 程序源码 Complex.hpp 源代码 #pragma once #include <iostream> #include <cmath> using namespace std; class Complex{ public: Complex(double a=0,double b=0
阅读全文
posted @ 2022-10-17 10:26 丁鑫铖
阅读(31)
评论(0)
推荐(0)
2022年9月
实验1
摘要: 实验任务二 1.源码 #include <iostream> using std::cout; using std::endl; class Point { public: Point(int x0 = 0, int y0 = 0); Point(const Point&p ); ~Point()
阅读全文
posted @ 2022-09-29 07:25 丁鑫铖
阅读(36)
评论(0)
推荐(0)
公告