摘要: QT的基本数据类型(转) qint8:signed char 有符号8比特数据 qint16:signed short 16位数据类型 qint32:signed int. 32位有符号数据类型 qint64:long long int 或(__int64) 64位有符号数据类型,Windows中定 阅读全文
posted @ 2017-04-25 19:26 朱小勇 阅读(6808) 评论(0) 推荐(0)
摘要: 一、简单设置 工具->选项->文本编辑器->片段->C++ 添加,设置触发名字。 然后在代码中输入触发条件,就能弹出此片段了 /***********************************************/// z 函数名称:NULL// h 函数作用:NULL// u 函数参数: 阅读全文
posted @ 2017-04-25 14:20 朱小勇 阅读(360) 评论(0) 推荐(0)
摘要: void TheFunc(void){ static int icount=0; icount++; if(icount>10){ cout<<"我已被调用超过10次了"<<endl; return; } if(icount>20){ cout<<"我已被调用超过20次了"<<endl; retur 阅读全文
posted @ 2017-04-25 09:19 朱小勇 阅读(1697) 评论(0) 推荐(0)
摘要: 1、在Linux中echo命令用来在标准输出上显示一段字符,比如:echo "the echo command test!" 这个就会输出“the echo command test!”这一行文字! 2、echo "the echo command test!">a.sh这个就会在a.sh文件中输入 阅读全文
posted @ 2017-04-25 09:15 朱小勇 阅读(523) 评论(0) 推荐(0)