摘要: 关键字: c++ cast// Cast.cpp : Defines the entry point for the console application.//#include "stdafx.h"#include using namespace std;class Base{public: virtual void func1() = 0; virtual void func2() = 0;};class A{ virtual void func3();};void A::func3(){ cout(pA);//Work fine pBase->func1().. 阅读全文
posted @ 2014-03-18 18:25 Ldlchina 阅读(1536) 评论(0) 推荐(0) 编辑