C++設計模式:中介者模式

一、源代碼: #include<iostream> #include<memory> #include<ctime> using namespace std; class User { public: User(string name) { this->_name = name; } string getName() {
相關文章
相關標籤/搜索