11 2021 档案

摘要:#include<iostream> #include<typeinfo> class Graph { public: virtual void draw(){std::cout<<"Graph::draw():just as an interface\n";} }; class Rectangle 阅读全文
posted @ 2021-11-27 16:22 202083290040王博宇 阅读(26) 评论(2) 推荐(0)
摘要:#include<iostream> using namespace std; class vector_int { public: vector_int(); vector_int(int s); vector_int(int s,int x); void print(); int &at(int 阅读全文
posted @ 2021-11-07 15:57 202083290040王博宇 阅读(24) 评论(2) 推荐(0)