首先不要被人蒙了,如果是这样,根本编译不过:int i=1;int b=i+++++i;printf("%d %d\n", b ,i);Mingw报错:error: lvalue required as increment operand (好像是说,++缺左值,这里的++是上题的第三第四个加号)V... Read More
posted @ 2015-08-04 22:05
findumars
Views(491)
Comments(0)
Diggs(0)
Qt的事件模型1.事件的概念 应用程序对象将系统消息接收为 Qt 事件。应用程序可以按照不同的粒度对事件加以监控、过滤并做出响应。 在 Qt 中,事件是指从 QEvent继承 的对象。Qt将事件发送给每个QObject对象,这样对象便可对事件做出响应。也就是说,Qt 的事件处理机制主要是基于 QE... Read More
posted @ 2015-08-04 18:36
findumars
Views(2567)
Comments(0)
Diggs(1)