实验四
摘要:task2源代码virtual #include <iostream> #include <typeinfo> // definitation of Graph class Graph { public: virtual void draw() { std::cout << "Graph::draw
阅读全文
实验三 类与对象2
摘要:Vector_int.hpp #ifndef VECTOR_INT_HPP #define VECTOR_INT_HPP #include <iostream> #include <cassert> using namespace std; class Vector_int{ private: in
阅读全文