随笔分类 -  《21天学通Qt5》

上一页 1 ··· 5 6 7 8 9 10 下一页

[C++]C++指针和引用及区别
摘要:相关资料: https://www.cnblogs.com/WindSun/p/11434417.html 1.变量变量在内存中的操作其实是需要经过2个步骤的:找出与变量名相对应的内存地址。根据找到的地址,取出该地址对应的内存空间里面的值进行操作。2.指针指针的特殊之处在于:指针变量相对应的内存空间 阅读全文

posted @ 2020-05-07 13:16 疯狂delphi 阅读(214) 评论(0) 推荐(0)

windbg独立安装包下载
摘要:相关资料: https://blog.csdn.net/counsellor/article/details/80816583 0x00 软件名称:Debugging Tools for Windows 0x01 软件版本:6.12 0x02 适用操作系统:windows 7 windows xp 阅读全文

posted @ 2020-01-19 14:55 疯狂delphi 阅读(4866) 评论(0) 推荐(0)

Qt 5.7设置调试器
摘要:相关资料: https://www.cnblogs.com/liuruoqian/p/5999528.html mingw版本下自带的,这个我就不在赘述。 现在来说一下msvc版本下调试器,cdb,这个需要到ms去下载、 thunder://QUFodHRwOi8vZG93bmxvYWQubWljc 阅读全文

posted @ 2020-01-19 14:32 疯狂delphi 阅读(642) 评论(0) 推荐(0)

VS2017下载地址
摘要:https://www.iteye.com/blog/fantaxy025025-2428415 Visual Studio 2017 (x86 and x64) – DVD (Chinese-Simplified) 离线完整安装包链接: https://pan.baidu.com/s/1pLRry 阅读全文

posted @ 2020-01-15 20:48 疯狂delphi 阅读(19959) 评论(0) 推荐(0)

QT-QT版本下载与解释
摘要:1.所有版本QT下载地址 : http://download.qt.io/archive/qt/ 2. 所有Qt Creator下载地址:http://download.qt.io/archive/qtcreator/ 3. 所有Qt VS开发插件下载地址:http://download.qt.io 阅读全文

posted @ 2020-01-03 19:04 疯狂delphi 阅读(1699) 评论(0) 推荐(0)

[C++]Qt 如何处理密集型耗时的事情(频繁调用QApplication::processEvents)
摘要:https://www.cnblogs.com/senior-engineer/p/5598133.html https://www.cnblogs.com/findumars/p/5607683.html api含义:QCoreApplication::processEvents() 将处理所有事 阅读全文

posted @ 2019-04-23 13:59 疯狂delphi 阅读(1065) 评论(0) 推荐(0)

[C++]深入解析结构化异常处理(SEH)
摘要:http://www.cppblog.com/weiym/archive/2015/02/27/209884.html 尽管以前写过一篇SEH相关的文章《关于SEH的简单总结》, 但那真的只是皮毛,一直对Windows异常处理的原理似懂非懂, 看了下面的文章 ,一切都豁然开朗. 1997年文章,Wi 阅读全文

posted @ 2019-04-19 10:28 疯狂delphi 阅读(3624) 评论(1) 推荐(1)

[C++]“error C2712: 无法在要求对象展开的函数中使用__try”解决方案
摘要:https://blog.csdn.net/shiqw5696/article/details/80664749 前段时间写了一篇关于C++异常捕获及异常处理的文章:c++异常捕获及异常处理try-throw-catch 严格的来说,那不算是一篇完整的文章,更多的是提出我的疑惑。顺便总结了一下网友关 阅读全文

posted @ 2019-04-19 09:00 疯狂delphi 阅读(2898) 评论(0) 推荐(0)

[C++]Qt程式异常崩溃处理技巧(Win)
摘要:文章转载来自 http://www.cnblogs.com/lcchuguo/p/5177715.html 作者 lcchuguo https://blog.csdn.net/baidu_33570760/article/details/52221863 这篇文章谈的是 Qt4 程式在视窗系统下的异 阅读全文

posted @ 2019-04-18 19:37 疯狂delphi 阅读(5941) 评论(0) 推荐(0)

QLabel设置文字大小和颜色
摘要:https://blog.csdn.net/fm0517/article/details/4805462 ui.label是QLabel ui.label_4->setText("some text"); //设置字号 QFont ft;ft.setPointSize(12);ui.label_4- 阅读全文

posted @ 2019-03-05 20:17 疯狂delphi 阅读(2893) 评论(0) 推荐(0)

Qt-时间转换、时间加减、获取当前时间并格式化输出及将积秒转换成时间
摘要:相关资料 https://blog.csdn.net/xb_ma/article/details/10946901 说明https://blog.csdn.net/m0_37837218/article/details/103805050 实例3https://blog.csdn.net/yangy 阅读全文

posted @ 2019-02-27 15:12 疯狂delphi 阅读(17478) 评论(0) 推荐(3)

[C++]Qt文本操作(按行读写)
摘要:资料来源:https://blog.csdn.net/flyfish1986/article/details/79487104 1 #include <QDebug> 2 #include <QFile> 3 4 void ReadLine() 5 { 6 7 QFile file("要读的文件路径 阅读全文

posted @ 2019-01-23 17:45 疯狂delphi 阅读(1629) 评论(0) 推荐(0)

[C++]QString方法集
摘要:QString s = "hello world"; s. indexOf ( "o" )); //4 s. lastIndexOf ( "o" )); //7 阅读全文

posted @ 2019-01-23 17:08 疯狂delphi 阅读(703) 评论(0) 推荐(0)

QT-提示“database not open”
摘要:问题现象: 要用QT开发"SQLite"时出现如下提示: QSqlQuery::exec: database not open QSqlDatabase: QSQLITE driver not loaded QSqlDatabase: available drivers: 问题原因:占时定为加载驱动 阅读全文

posted @ 2018-05-17 21:33 疯狂delphi 阅读(4268) 评论(0) 推荐(0)

[C++]在查找预编译头时遇到意外的文件结尾。是否忘记了向源中添加“#include StdAfx.h”
摘要:问题现象:在写好的.cpp文件后,编译报错。提示"你建立的工程使用了预编译功能, cpp最前边要留一行这样的内容:#include "StdAfx.h"问题原因:网上说是因为增加了预编译。问题处理:项目->配置属性->C/C++->预编译头->预编译头->不使用预编译头 阅读全文

posted @ 2016-11-03 20:12 疯狂delphi 阅读(3799) 评论(0) 推荐(0)

[C++]using std string;的作用是什么
摘要:相关资料: http://bbs.csdn.net/topics/330194465 #include <string>将string库包含到当前编译单元中. using std::string; 一个编译单元会有很多域...一般,这个只会出现在单独的域中.这样做是避免三件事.1, 将std里的所有 阅读全文

posted @ 2016-11-03 15:38 疯狂delphi 阅读(2319) 评论(0) 推荐(0)

[C++]文件头引入#ifndef与#define有什么作用
摘要:相关资料:https://zhidao.baidu.com/question/15822506.html 在c.h文件中,a.h文件被包含了两次。而C++规定在同一文件中只能将同一个头文件包含一次.#ifndef,#define,#endif可以避免多次包含同一头文件. 阅读全文

posted @ 2016-11-03 15:37 疯狂delphi 阅读(540) 评论(0) 推荐(0)

[C++]红色波浪线是什么意思
摘要:相关资料:https://zhidao.baidu.com/question/242005953.html 问题现象:在写C++代码时,写的注释都是红色波浪线。 问题原因:波浪线表示 词语拼写错误 字典中没有这些中文 所以就有红色的下划线了 可以关闭注释的拼写错误检查,这个是VAX 干的。 问题处理 阅读全文

posted @ 2016-11-03 15:37 疯狂delphi 阅读(2817) 评论(0) 推荐(0)

[C++]在什么时候需要“#include string.h“
摘要:相关资料:https://zhidao.baidu.com/question/515578726.html C++中,string头文件基本上已经包含在iostream中了。但是,平时使用的时候建议加上#include<string.h>(尤其在以下情况下)1、使用string类型2、使用cin、c 阅读全文

posted @ 2016-11-03 15:36 疯狂delphi 阅读(3241) 评论(0) 推荐(0)

[C++]怎么将.h和.cpp文件分别放在不同的目录
摘要:相关资料: http://blog.csdn.net/onafioo/article/details/8775501 具体操作: 1.找到.h文件目录。2.将所以的.h文件剪切到“include”目录中。3.这时编译会出错,提示“f:\c++实战\stdafx.cpp(5): fatal error 阅读全文

posted @ 2016-11-03 10:30 疯狂delphi 阅读(1652) 评论(0) 推荐(0)

上一页 1 ··· 5 6 7 8 9 10 下一页

导航