说明: Initialize is the first method called by the project source file. It calls the InitProc procedure pointer. By default, the call to Initialize for Read More
posted @ 2016-03-10 18:38 findumars Views(1190) Comments(0) Diggs(0)
C++ 对象的内存布局(上) 陈皓 http://blog.csdn.net/haoel 点击这里查看下篇>>> 前言 07年12月,我写了一篇《C++虚函数表解析》的文章,引起了大家的兴趣。有很多朋友对我的文章留了言,有鼓励我的,有批评我的,还有很多问问题的。我在这里一并对大家的留言表示感谢。这也 Read More
posted @ 2016-03-10 00:18 findumars Views(524) Comments(0) Diggs(0)
C++ 虚函数表解析 陈皓 http://blog.csdn.net/haoel 前言 C++中的虚函数的作用主要是实现了多态的机制。关于多态,简而言之就是用父类型别的指针指向其子类的实例,然后通过父类的指针调用实际子类的成员函数。这种技术可以让父类的指针有“多种形态”,这是一种泛型技术。所谓泛型技 Read More
posted @ 2016-03-10 00:06 findumars Views(4896) Comments(0) Diggs(0)
在Qt中使用定时器有两种方法,一种是使用QObiect类的定时器;一种是使用QTimer类。定时器的精确性依赖于操作系统和硬件,大多数平台支持20ms的精确度 1.QObject类的定时器 QObject是所有Qt对象的基类,它提供了一个基本的定时器。通过QObject::startTimer(), Read More
posted @ 2016-03-09 23:57 findumars Views(19397) Comments(0) Diggs(0)
dfm: object CopyDeskService: TCopyDeskService OldCreateOrder = False OnCreate = ServiceCreate OnDestroy = ServiceDestroy AllowPause = False DisplayNam Read More
posted @ 2016-03-08 19:48 findumars Views(2272) Comments(0) Diggs(0)