摘要: 解释某个函数,我通常的讲解不会先去长篇大论去空谈,先整个例子来看看!!走起....#include <iostream>#include <string>using namespace std;class A{public: A(const char*s) { cout<<s<<endl; }};class B:virtual public A{public: B(const char*s1,const char*s2):A(s1) { cout <<s2<<endl; }};class C:virtual public 阅读全文
posted @ 2013-04-25 16:40 记忆斑驳的时光 阅读(12278) 评论(0) 推荐(2) 编辑