摘要: // Factory.cpp : Defines the entry point for the console application.//#include "stdafx.h"#include <iostream>using namespace std;class IProduct{public:virtual void doSomething() = 0;};class ProductA: public IProduct{public:void doSomething(){std::cout<<"Product A doSomethi 阅读全文
posted @ 2011-11-22 17:01 Just a Programer 阅读(326) 评论(0) 推荐(0) 编辑