C++ 设计模式
摘要:
C++ 设计模式 工厂模式: 我们需要方便的使用这些类,减少耦合度 #include <iostream> #include <string> using namespace std; class car{ public: car(string name):name_(name){} virtual 阅读全文
posted @ 2024-03-24 22:14 AndreaDO 阅读(81) 评论(0) 推荐(0)
2024年3月24日 #
posted @ 2024-03-24 22:14 AndreaDO 阅读(81) 评论(0) 推荐(0)
posted @ 2024-03-24 08:21 AndreaDO 阅读(1931) 评论(0) 推荐(0)