摘要: 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)
摘要: 实验三 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)
摘要: 实验四 #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)
摘要: 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)
摘要: 黄宇恒 202083290254 阅读全文
posted @ 2021-10-27 16:23 hyh&&tyq 阅读(31) 评论(0) 推荐(0)
摘要: 实验三: #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)