设计模式 之 《外观模式》

  #ifndef __FACADE_MODEL__ #define __FACADE_MODEL__ #include <iostream> using namespace std; //GOOD:为子系统的一组接口提供一个一致的界面。使用户使用起来更加方便。 class SubSystemOne { public: void methodOne(){ cout<<"One"<<e
相关文章
相关标签/搜索