2022年3月24日
摘要: //缺点:工厂类集中了所有产品类的创建逻辑,如果产品量较大,会使得工厂类变的非常臃肿。#include <iostream> #include <string> using namespace std; class Cost{ public: virtual const string& color( 阅读全文
posted @ 2022-03-24 12:00 缘随风烬 阅读(89) 评论(0) 推荐(0) 编辑