11 2021 档案

摘要:实验二: task2.cpp: #include <iostream> #include <typeinfo> class Graph{ public: void draw(){ std::cout<<"Graph::draw() : just as an interface\n"; } }; cl 阅读全文
posted @ 2021-11-25 13:21 叶金萌 阅读(44) 评论(3) 推荐(0)
摘要:实验4: vector_int.hpp: #include <iostream> #include <cassert> using namespace std; class vector_int{ public: vector_int(int x,int y=1):m(x),n(y){ p=new 阅读全文
posted @ 2021-11-09 21:15 叶金萌 阅读(47) 评论(3) 推荐(0)
摘要:实验五: Info.hpp: #include <iostream> #include <string> using namespace std; class Info{ public: Info(string a=" ",string b=" ",string c=" ",int d=0):nic 阅读全文
posted @ 2021-11-01 13:04 叶金萌 阅读(53) 评论(3) 推荐(0)