会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
越来越懒了
博客园
首页
新随笔
联系
订阅
管理
2022年4月7日
二路归并排序
摘要: #include <iostream> using namespace std; void MergeSort(int a[], int n); void MergePass(int a[], int length, int n); void Merge(int a[], int min, int
阅读全文
posted @ 2022-04-07 13:18 越来越懒了
阅读(53)
评论(0)
推荐(0)
2021年12月14日
实验五 模板类和多态
摘要: Person.hpp #ifndef PERSON_HPP #define PERSON_HPP #include <iostream> #include <iomanip> #include <string> using namespace std; class Person { public:
阅读全文
posted @ 2021-12-14 00:05 越来越懒了
阅读(45)
评论(3)
推荐(0)
2021年11月29日
实验四 继承
摘要: 任务二 task2: #include <iostream> #include <typeinfo> // definitation of Graph class Graph { public: void draw() { std::cout << "Graph::draw() : just as
阅读全文
posted @ 2021-11-29 21:46 越来越懒了
阅读(18)
评论(3)
推荐(0)
2021年11月9日
实验三 类和对象
摘要: vector_int.hpp #include <iostream> class Vector_int { public: Vector_int(int n); Vector_int(int n, int m); Vector_int(const Vector_int &x); ~Vector_in
阅读全文
posted @ 2021-11-09 18:01 越来越懒了
阅读(30)
评论(3)
推荐(0)
2021年11月2日
实验二:指针,数组和c++标准库
摘要: 实验五: ”info.hpp“ #ifndef info_hpp #define info_hpp #include <iostream> #include <string> #include <iomanip> using namespace std; class info { public: i
阅读全文
posted @ 2021-11-02 17:11 越来越懒了
阅读(26)
评论(3)
推荐(0)
2021年10月25日
面向对象程序设计实验一
摘要: 实验任务3: Complex.hpp: #include <iostream> #include <cmath> class Complex { public: Complex() {}; Complex(double r, double i = 0) :real(r), imag(i) {}; C
阅读全文
posted @ 2021-10-25 19:30 越来越懒了
阅读(64)
评论(3)
推荐(0)
公告