会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
闫信宇
博客园
首页
新随笔
联系
订阅
管理
2021年12月11日
实验五。
摘要: #include<iostream> #include<string> #include<fstream> #include <vector> #include"person.h" using namespace std; int main() { vector<person> phone_book
阅读全文
posted @ 2021-12-11 15:00 闫信宇
阅读(36)
评论(2)
推荐(0)
2021年11月24日
实验4继承
摘要: #pragma once #include<iostream> #include<string> using namespace std; class car { public: car(string a="nothing", string b="nothing", int c=0) :maker(
阅读全文
posted @ 2021-11-24 19:06 闫信宇
阅读(43)
评论(2)
推荐(0)
2021年11月5日
类与对象
摘要: #pragma once #include <iostream> #include <cassert> class Matrix { public: Matrix(int n); // 构造函数,构造一个n*n的矩阵 Matrix(int n, int m); // 构造函数,构造一个n*m的矩阵
阅读全文
posted @ 2021-11-05 14:57 闫信宇
阅读(47)
评论(2)
推荐(0)
2021年10月27日
实验2
摘要: #pragma once #include<string> using namespace std; class TextCoder { public: TextCoder(string qq); string encoder(); string decoder(); private: string
阅读全文
posted @ 2021-10-27 23:59 闫信宇
阅读(38)
评论(3)
推荐(0)
2021年10月21日
实验一类与对象
摘要: Complex.h #pragma once #ifndef CIRCLE_H #define CIRCLE_H class Complex { public: Complex(); Complex(double a, double b); Complex(double a); Complex(Co
阅读全文
posted @ 2021-10-21 00:16 闫信宇
阅读(36)
评论(3)
推荐(0)
公告