会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
曾经蜡笔没有小新i
博客园
首页
新随笔
联系
订阅
管理
2021年12月9日
实验五 模板与多态
摘要: 实验任务二 #main_task2.cpp 1 #include<iostream> 2 #include<fstream> 3 #include<vector> 4 #include"Person_task.hpp" 5 6 using namespace std; 7 8 int main()
阅读全文
posted @ 2021-12-09 22:34 曾经蜡笔没有小新i
阅读(61)
评论(2)
推荐(0)
2021年11月24日
实验四 继承
摘要: 实验任务二 #程序源码 1 #include <iostream> 2 #include <typeinfo> 3 4 // definitation of Graph 5 class Graph 6 { 7 public: 8 virtual void draw() { std::cout <<
阅读全文
posted @ 2021-11-24 01:04 曾经蜡笔没有小新i
阅读(57)
评论(2)
推荐(0)
2021年11月2日
实验三
摘要: 实验任务四 vector_int.hpp 1 #ifndef VECTOR_INT_HPP 2 #define VECTOR_INT_HPP 3 #include<iostream> 4 #include<cassert> 5 6 using namespace std; 7 class Vecto
阅读全文
posted @ 2021-11-02 22:22 曾经蜡笔没有小新i
阅读(56)
评论(2)
推荐(0)
2021年10月28日
实验二
摘要: #任务5 info.hpp 1 #ifndef INFO_HPP 2 #define INFO_HPP 3 4 #include<iostream> 5 #include<string> 6 using namespace std; 7 8 class info 9 { 10 public: 11
阅读全文
posted @ 2021-10-28 19:17 曾经蜡笔没有小新i
阅读(28)
评论(2)
推荐(0)
2021年10月21日
实验一 类与对象
摘要: 1 #ifndef COMPLEX_HPP 2 #define COMPLEX_HPP 3 4 //complex类定义 5 #include<iostream> 6 #include<math.h> 7 using namespace std; 8 class Complex 9 { 10 pub
阅读全文
posted @ 2021-10-21 17:24 曾经蜡笔没有小新i
阅读(22)
评论(3)
推荐(0)
公告