11 2021 档案
摘要:没加virtual之前: task1.cpp #include<iostream> #include<typeinfo> //definition of Graph class Graph { public: void draw() { std::cout << "Graph::draw() : j
阅读全文
摘要: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
阅读全文
浙公网安备 33010602011771号