摘要:
代理模式:为其他对象提供一种代理以控制对这个对象的访问。// Proxy.cpp : Defines the entry point for the console application.//#include "stdafx.h"#include <iostream>using namespace std;class ISubject{public:virtual void doSomething() = 0;};class ConcreateSubject: public ISubject{public:virtual void doSomething(){ 阅读全文