上一页 1 ··· 77 78 79 80 81 82 83 84 85 ··· 1357 下一页
https://github.com/mylxsw/FileWatcher/blob/master/watcher.go Read More
posted @ 2018-09-08 20:15 findumars Views(613) Comments(0) Diggs(0)
To implement virtual functions, C++ uses a special form of late binding known as the virtual table. The virtual table is a lookup table of functions u Read More
posted @ 2018-09-06 20:10 findumars Views(533) Comments(0) Diggs(0)
As it turned out this is a special kind of pointer. The this pointer stores the address of the class instance, to enable pointer access of the members Read More
posted @ 2018-09-06 20:09 findumars Views(315) Comments(0) Diggs(0)
造个简单的轮子倒是不难,但可用性健壮性高到qt这样全世界都在用,就几乎不可能了比如自己写个事件循环实现信号槽,还真不难,我这边的架构里就这么搞了个仿osgi的事件总线嵌入式实时操作系统上能用的大型gui框架,这句话足够日天了,也就qt一家…… qt诞生比mfc还早,基本上是全期压制mfc的,只是亏在 Read More
posted @ 2018-09-06 17:52 findumars Views(879) Comments(0) Diggs(0)
写C/C++程序最怕出现这样的提示了,还好是在调试环境下显示出来的,在非调试状态就直接崩溃退出. 从上述汇编代码发现在取内存地址 eax+38h 的值时出错, 那说明这个地址非法呗, 不能访问, 一般是访问了空指针引起的. 直接调用QList::append()方法也会出错了, 此时汇编也指向的是在 Read More
posted @ 2018-09-04 23:55 findumars Views(600) Comments(0) Diggs(0)
上一页 1 ··· 77 78 79 80 81 82 83 84 85 ··· 1357 下一页