摘要: 代理模式:为其他对象提供一种代理以控制对这个对象的访问。// 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(){ 阅读全文
posted @ 2011-12-02 16:26 Just a Programer 阅读(220) 评论(0) 推荐(0) 编辑