会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
bjfbfelkbuif
博客园
首页
新随笔
联系
订阅
管理
2021年12月14日
实验5 模板类与多态
摘要: 实验结论 1.实验任务1 任务1.2 Complex.hpp源码 #ifndef COMPLEX_HPP_INCLUDED #define COMPLEX_HPP_INCLUDED #include <iostream> using std::cout; using std::endl; using
阅读全文
posted @ 2021-12-14 19:48 bjfbfelkbuif
阅读(37)
评论(1)
推荐(0)
2021年11月23日
实验4 继承
摘要: 实验任务2 程序源码 #include <iostream> #include <typeinfo> // definitation of Graph class Graph { public: void draw() { std::cout << "Graph::draw() : just as
阅读全文
posted @ 2021-11-23 22:10 bjfbfelkbuif
阅读(84)
评论(1)
推荐(0)
2021年11月7日
实验3 类与对象Ⅱ
摘要: 实验任务4 Vector_int.hpp源码 #ifndef VECTOR_INT_HPP_INCLUDED #define VECTOR_INT_HPP_INCLUDED #include <iostream> using namespace std; class Vector_int{ publ
阅读全文
posted @ 2021-11-07 14:04 bjfbfelkbuif
阅读(16)
评论(1)
推荐(0)
2021年11月2日
实验2 数组、指针与C++标准库
摘要: 5.实验任务5 Info.hpp文件源码 #ifndef INFO_HPP_INCLUDED #define INFO_HPP_INCLUDED #include<iostream> #include<string> using namespace std; class Info{ private:
阅读全文
posted @ 2021-11-02 12:53 bjfbfelkbuif
阅读(39)
评论(1)
推荐(0)
2021年10月25日
实验1 类与对象
摘要: 四、实验结论 实验任务3 complex.hpp文件源码 class complex { public: complex(){} complex(double a):real(a),imag(0){} complex(double b,double c):real(b),imag(c){} comp
阅读全文
posted @ 2021-10-25 21:32 bjfbfelkbuif
阅读(41)
评论(1)
推荐(0)
公告