会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
黄宇恒
博客园
首页
新随笔
联系
订阅
管理
2021年12月9日
实验五 模板类与多态
摘要: task3cout<<i会被转化为<<(cout,p1) fout<<i会被转化为<<(fout, p1) #include<iostream> #include<string> #include<iomanip> using namespace std; class Person{ private
阅读全文
posted @ 2021-12-09 20:01 hyh&&tyq
阅读(67)
评论(3)
推荐(0)
2021年11月24日
实验4 继承
摘要: 实验三 1 #include<iostream> 2 #include<string> 3 using namespace std; 4 class Car { 5 public: 6 Car(string z,string x,int y,int m=0):maker(z),model(x),ye
阅读全文
posted @ 2021-11-24 17:11 hyh&&tyq
阅读(33)
评论(3)
推荐(0)
2021年11月4日
实验3 类和对象Ⅱ
摘要: 实验四 #ifndef VECTOR_INT #define VECTOR_INT #include<iostream> #include<cassert> using namespace std; class Vector_int { public: Vector_int(int n); Vect
阅读全文
posted @ 2021-11-04 14:29 hyh&&tyq
阅读(35)
评论(3)
推荐(0)
2021年10月28日
实验2 数组、指针与C++标准库
摘要: task5 #include "Info.hpp" #include <iostream> #include <string> #include "vector" using namespace std; int main(){ vector<Info>audience_info_list; con
阅读全文
posted @ 2021-10-28 13:11 hyh&&tyq
阅读(39)
评论(3)
推荐(0)
2021年10月27日
https://www.cnblogs.com/hyh12345/
摘要: 黄宇恒 202083290254
阅读全文
posted @ 2021-10-27 16:23 hyh&&tyq
阅读(31)
评论(0)
推荐(0)
2021年10月20日
C++实验一 类与对象
摘要: 实验三: #include "Complex.hpp" #include <iostream> int main() { using namespace std; Complex c1(12,-5); const Complex c2(5.5); Complex c3(c1); cout << "c
阅读全文
posted @ 2021-10-20 22:38 hyh&&tyq
阅读(77)
评论(3)
推荐(0)
公告