11 2021 档案
摘要:任务2: #include <iostream> #include <typeinfo> class Graph { public: virtual void draw() { std::cout << "Graph::draw() : just as an interface\n"; } }; c
阅读全文
摘要:1.实现动态的整型数组类 vector.hpp: #pragma once #ifndef VECTOR_INT_HPP #define VECTOR_INT_HPP #include<iostream> class vector_int { private: int* p; int size; p
阅读全文
摘要:info.hpp #pragma once #ifndef INFO_HPP #define INFO_HPP #include <iostream> #include<string> using namespace std; class Info { private: string nicknam
阅读全文
浙公网安备 33010602011771号