会员
周边
新闻
博问
AI培训
云市场
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
祺祺不圆
博客园
|
首页
|
新随笔
|
新文章
|
联系
|
订阅
|
管理
2021年12月10日
实验五 模板类与多态
摘要: 实验任务二 person.hpp 1 #ifndef PERSON_HPP 2 #define PERSON_HPP 3 4 #include<iostream> 5 #include<string> 6 #include<iomanip> 7 8 using namespace std; 9 10
阅读全文
posted @ 2021-12-10 00:07 祺祺不圆
阅读(48)
评论(3)
推荐(0)
编辑
2021年11月28日
实验四 继承
摘要: 实验任务1: (1)map 将学号转换为小写字母: exc1.cpp 1 #include<iostream> 2 #include<string> 3 #include<map> 4 5 int main(){ 6 using namespace std; 7 8 map<char,string>
阅读全文
posted @ 2021-11-28 11:22 祺祺不圆
阅读(44)
评论(3)
推荐(0)
编辑
2021年11月5日
实验三 类与对象Ⅱ
摘要: 实验任务4: vector_int.hpp 1 #ifndef VECTOR_INT_HPP 2 #define VECTOR_INT_HPP 3 4 #include<iostream> 5 #include<cassert> 6 7 class Vector_int{ 8 public: 9 V
阅读全文
posted @ 2021-11-05 09:24 祺祺不圆
阅读(34)
评论(3)
推荐(0)
编辑
2021年10月29日
实验二 数组、指针与c++标准库
摘要: 实验任务5 Info.hpp 1 #ifndef INFO_HPP 2 #define INFO_HPP 3 4 #include<iostream> 5 #include<string> 6 using namespace std; 7 class Info{ 8 private: 9 strin
阅读全文
posted @ 2021-10-29 21:03 祺祺不圆
阅读(42)
评论(3)
推荐(0)
编辑
2021年10月24日
实验1(类与对象)
摘要: 实验任务3 Complex.hpp源代码: 1 #ifndef COMPLEX_HPP 2 #define COMPLEX_HPP 3 4 #include<iostream> 5 #include<cmath> 6 using namespace std; 7 class Complex { 8
阅读全文
posted @ 2021-10-24 11:43 祺祺不圆
阅读(23)
评论(3)
推荐(0)
编辑
公告