摘要: 1、类图 2、源代码 test4.cpp #include<iostream> #include<string> using namespace std; //抽象产品类 男人 class Man { public: virtual void makeM() = 0; }; //具体产品类 白色男人 阅读全文
posted @ 2021-09-27 16:04 第厘 阅读(99) 评论(0) 推荐(0) 编辑