09 2011 档案
C++ 虚拟继承揭秘
摘要:很多朋友对C++虚拟继承都感觉到很疑惑,原因是虚拟继承的机制本身就很复杂,不同的编译器实现的机制也不尽相同。下面我就Microsoft c++虚拟继承机制给大家做一个介绍 首先我们定义下面的类型Class Point2d{public:…protected:Flaot _x,_y;};Class Vertex:public virtual Point2d{public:…protected:Vertex *next;} ;Class Point3d:public virtual Point2d{public:… ;Float:_z;};Class Vertex3d: public Verte. 阅读全文
posted @ 2011-09-07 10:13 yuanyi 阅读(394) 评论(0) 推荐(0)
C#属性的秘密
摘要:sdgsdg 阅读全文
posted @ 2011-09-06 15:26 yuanyi 阅读(259) 评论(0) 推荐(0)