11 2021 档案

摘要:没加virtual之前: task1.cpp #include<iostream> #include<typeinfo> //definition of Graph class Graph { public: void draw() { std::cout << "Graph::draw() : j 阅读全文
posted @ 2021-11-27 20:59 歧念 阅读(34) 评论(2) 推荐(0)
摘要:vector_int.hpp #ifndef VECTOR_INT_HPP #define VECTOR_INT_HPP #include<iostream> using namespace std; class vector_int { public: vector_int(int n); vec 阅读全文
posted @ 2021-11-05 22:09 歧念 阅读(23) 评论(3) 推荐(0)