23种设计模式之建造者模式(创建型,4 Builder,c++实现)

代码实现: #include <iostream> #include <string> using namespace std; class House  { public: void setDoor(string door)  { this->door = door; } void setWall(string wall)  { this->wall = wall; } void setWind
相关文章
相关标签/搜索