会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
言风阁
博客园
首页
新随笔
联系
订阅
管理
2021年12月14日
实验五
摘要: task 2: #include <iostream> #include <fstream> #include <vector> #include <string> using namespace std; class Person { private: string name, email; in
阅读全文
posted @ 2021-12-14 17:33 言风阁
阅读(14)
评论(3)
推荐(0)
2021年11月26日
实验四
摘要: 任务二 #include <typeinfo> #include <iostream> using namespace std; //定义Graph类 class Graph { public: void draw() //通过virtual关键词,改变指针ptr指向 { cout << "Grap
阅读全文
posted @ 2021-11-26 16:28 言风阁
阅读(36)
评论(3)
推荐(0)
2021年11月11日
实验三 类与对象2
摘要: 任务四 vector_hpp #ifndef VECTOR_INT_HPP #define VECTOR_INT_HPP #include <iostream> using namespace std; class Vector_int{ public: Vector_int(int size,in
阅读全文
posted @ 2021-11-11 15:30 言风阁
阅读(16)
评论(3)
推荐(0)
2021年11月3日
实验二 数组,指针与C++标准库
摘要: 1.实验5 // 任务4 作业1.cpp : 此文件包含 "main" 函数。程序执行将在此处开始并结束。 // #include <string> #include <iostream> #include <vector> using namespace std; class info { pri
阅读全文
posted @ 2021-11-03 15:15 言风阁
阅读(52)
评论(3)
推荐(0)
2021年10月25日
实验一 类与对象
摘要: #include<iostream> #include<cmath> using namespace std; class Complex{ private: double real, imag; public: Complex(); Complex(double r = 0, double i =
阅读全文
posted @ 2021-10-25 22:40 言风阁
阅读(22)
评论(3)
推荐(0)
公告
点击右上角即可分享