[html] view plain copy 01 class MThread :public QThread 02 { 03 public: 04 MThread(); 05 ~MThread(); 06 virtual void run(); 07 void foo(); 08 ... 09 1 Read More
posted @ 2018-04-13 23:19 findumars Views(923) Comments(0) Diggs(0)
C/C++ 知识点 sizeof使用规则及陷阱分析 原文出处:【胖奇的专栏】 1、什么是sizeof 首先看一下sizeof在msdn上的定义: The sizeof keyword gives the amount of storage, in bytes, associated with a v Read More
posted @ 2018-04-13 21:40 findumars Views(711) Comments(0) Diggs(0)
1.strcpy字符串拷贝拷贝pStrSource到pStrDest,并返回pStrDest地址(源和目标位置重叠情况除外) 2.strcmp字符串比较 3.strstr字符串查找 4.strDelChar字符串删除字符 5.strrev字符串反序 6.memmove拷贝内存块 7.strlen字符 Read More
posted @ 2018-04-13 21:39 findumars Views(547) Comments(0) Diggs(0)
一、什么是C运行时库 1)C运行时库就是 C run-time library,是 C 而非 C++ 语言世界的概念:取这个名字就是因为你的 C 程序运行时需要这些库中的函数. 2)C 语言是所谓的“小内核”语言,就其语言本身来说很小(不多的关键字,程序流程控制,数据类型等);所以,C 语言内核开发 Read More
posted @ 2018-04-13 20:06 findumars Views(805) Comments(0) Diggs(0)
这几天一直在弄一个嵌入式的程序,搭环境,熟悉库函数,熟悉汇编,乱成一锅粥,到现在还是没有什么系统性的收获。 或许下周弄出来吧,(一定得弄出来,不然老大该跟我急了……)。 今天,熟悉汇编,好歹用汇编写出了hello world,算是我汇编生涯的一个起点吧, 写下来纪念一下: 例: date segme Read More
posted @ 2018-04-13 19:06 findumars Views(376) Comments(0) Diggs(0)
Despite all of the benefits that QML and Qt Quick offer, they can be challenging in certain situations. The following sections elaborate on some of th Read More
posted @ 2018-04-13 18:11 findumars Views(566) Comments(0) Diggs(0)