![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
c++
文章平均质量分 55
freegodlee
这个作者很懒,什么都没留下…
展开
-
Drived classes (10.22)
(1)The notion of a drived class and its associated languanges machnisms are provided to express hierarchicalrelationships ,that is,to express commonality between classes.The aim is to help you at原创 2006-10-24 00:59:00 · 685 阅读 · 0 评论 -
member function of a drived class(10.27)
why the drived class cant use the private member in its member fuction?the meaning of the protectionhow to use the member fuction of the based class in drived class原创 2006-10-27 21:28:00 · 695 阅读 · 0 评论 -
standard library(10.30)
standard library design roles:A standard library is something that every implementermust supply so that every programmer can rely on it.[4] Supplies nonprimitive facilities that a programmer can re原创 2006-10-31 00:06:00 · 603 阅读 · 0 评论 -
class objects as members(10.31)
(1)when construct and copymust initialize, take care of the sequences(2)arrary: If an object of a class can be constructed without supplying an explicit initializer, then arrays of thatclass ca原创 2006-10-31 11:44:00 · 643 阅读 · 0 评论 -
Multiple Inheritance(11.4)
class satellite:public Task,publicDisplayed{}there really was------maybe there still in-----a program along the lines used to describle multiple inheritance here.原创 2006-11-04 23:11:00 · 648 阅读 · 0 评论 -
c++开源跨平台类库
在如下的库支持下,开发的系统可以很方便移植到当前大部分平台上运行而无需改动,只需在对应的平台下 用你喜欢的编译器 重新编译即可经典的C++库 STLport-------SGI STL库的跨平台可移植版本,在以前有些编译器离符合 标准比较远的情况下 那时还是有用的,当然目前vc71已经比较接近标准了, 故目前不怎么用它了。 Boost---------准转载 2007-09-07 14:42:00 · 932 阅读 · 0 评论 -
rtti
如何在运行时确定对象类型(RTTI)作者:NorthTibet RTTI 是“Runtime Type Information”的缩写,意思是:运行时类型信息。它提供了运行时确定对象类型的方法。本文将简略介绍 RTTI 的一些背景知识、描述 RTTI 的概念,并通过具体例子和代码介绍什么时候使用以及如何使用 RTTI;本文还将详细描述两个重要的 RTTI 运算符的使用方法,它们是 typ转载 2007-09-25 20:05:00 · 539 阅读 · 0 评论 -
class之間有三種關係,inheritance,implementation和association
class之間有三種關係,inheritance,implementation和association。inheritance和implementation在C++、C#、Java都有直接支援,所以不難懂,但association,aggregation和composition在語言並沒有知接支援,到底三者有什麼差別呢?首先看association,下圖是個典型的assoication clas转载 2007-10-16 23:37:00 · 3303 阅读 · 0 评论