上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 1357 下一页
转自MiloYip大神的博客 【原文】http://www.cnblogs.com/miloyip/archive/2010/09/17/behind_cplusplus.html 在31年前(1979年),一名刚获得博士学位的研究员,为了开发一个软件项目发明了一门新编程语言,该研究员名为Bjarn Read More
posted @ 2019-11-26 18:44 findumars Views(703) Comments(0) Diggs(2)
据国外媒体报道,微软创始人比尔·盖茨(Bill Gates)表示,如果微软没有卷入美国司法部从1998年到2000年对其展开的反垄断调查,他认为现在每个人都会使用Windows Mobile操作系统。今天早些时候,盖茨在《纽约时报》举办的DealBook Conference上发表讲话,透露了他对微 Read More
posted @ 2019-11-09 03:42 findumars Views(469) Comments(0) Diggs(0)
这是C++11新特性介绍的第五部分,涉及到智能指针的相关内容(shared_ptr, unique_ptr, weak_ptr)。 shared_ptr shared_ptr 基本用法 shared_ptr采用引用计数的方式管理所指向的对象。当有一个新的shared_ptr指向同一个对象时(复制sh Read More
posted @ 2019-11-08 17:15 findumars Views(1541) Comments(0) Diggs(0)
之前在上C++的课的时候,印象中有那么一句话:如果一个类没有任何构造函数,那么编译器会生成一个默认的构造函数 今天在看《深度探索C++对象模型》的第二章:“构造函数语意学”的时候发现之前听到的说法是错误的。 比如说如下代码: class A {public: int a;}; int main(vo Read More
posted @ 2019-11-07 00:43 findumars Views(868) Comments(0) Diggs(0)
information 这是比较常用的一种用法,效果如下: information原型: 第一个参数是父控件指针 第二个参数是标题 第三个参数是内容 第四个参数是窗口里面要多少个按钮(默认为OK) 第五个参数指定按下Enter时使用的按钮。(默认为NoButton,此时QMessageBox会自动选 Read More
posted @ 2019-11-05 22:09 findumars Views(6128) Comments(0) Diggs(2)
上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 1357 下一页