- 博客(17)
- 资源 (3)
- 收藏
- 关注
原创 QT学习--DAY1:选择构建套件时,No suitable kits found.
1.在所有程序中,找到QT Mainternance Tool,打开。装好QT后,出现的第一个问题,记录一下我的解决方案。3.注意:更新完成之后要重启QT才能生效。2.找到自己想要加的组件,选中更新组件。
2024-01-29 14:02:14
2384
1
原创 listCtrl实现全选、反选、双击编辑
2.右键listCtrl-添加事件处理程序-消息类型NM_DBLCLK,改为自己的实现类。LVS_EX_CHECKBOXES就是勾选框,加了它listCtrl前面就有一个勾选框。edit控件右键-添加事件处理程序-消息类型EN_KILLFOCUS。1.拉一个edit控件,右键属性设置不可见。3.edit控件添加事件处理程序。
2024-01-25 15:56:48
910
原创 listCtrl实现右键菜单
listCtrl右键-添加事件处理程序-消息类型NM_RCLICK,类改为你自己的实现类。步骤:资源视图-Menu右键添加资源-新建。菜单项-右键-添加事件处理程序-改为你的实现类。三、添加listCtrl右键事件处理程序。五、添加菜单项的事件处理。
2024-01-25 15:33:26
725
原创 vcpkg安装boost库
//1.安装boost库 32位/64位 vcpkg install boost:x86-windows vcpkg install boost:x64-windows //2.查看已安装列表 vcpkg list //3.引入项目组中 .\vcpkg integrate install 第一步截图如下: 第二步截图如下 第三步截图如下代码中直接调用即可,不用自己引入库目录,已经整合到VS里面了可以看到文件跳转后,boost路径在vcpkg目录下 ...
2022-03-17 10:41:58
7428
1
原创 C++ libcurl Digest Auth
C++ libcurl Digest Auth postman操作如下: 附认证原理如下: MD5 md5; string HA1 = md5("username:realm:password"); string HA2 = md5("method:uri"); string response = md5("HA1:nouce:nc:cnonce:qop:HA2"); 这里的response就是经过上面MD5加密而来。 C++ libcurl使用代码 curl_easy_setopt(m_p
2021-09-06 14:35:09
1414
原创 visual c++: error C3861: ‘system‘: identifier not found
#include <stdlib.h>
2020-09-03 16:23:13
890
原创 vs2015: error C2065: ‘cout‘: undeclared identifier,‘endl‘: undeclared identifier
study1.cpp(8): error C2065: 'cout': undeclared identifier study1.cpp(8): error C2065: 'endl': undeclared identifier 解决方案: 加头文件,名字空间 #include using namespace std;
2020-09-02 09:39:03
767
原创 error LNK2001: unresolved external symbol “protected: virtual struct AFX_MSGMAP const * __thiscall
visual C++ 2015错误: error LNK2001: unresolved external symbol "protected: virtual struct AFX_MSGMAP const * __thiscall CDlgQuery::GetMessageMap(void)const " (?GetMessageMap@CDlgQuery@@MBEPBUAFX_MSGMAP@@XZ) 解决方案: ctrl+F快捷键在报错的文件中查找MESSAGE_MAP。 看BEGIN_MESSA
2020-08-18 11:09:24
654
原创 visual C++ 2015 报错error LNK2019: unresolved external symbol _mysql_num_rows@4 referenced in function
visual C++ 2015 报错error LNK2019: unresolved external symbol _mysql_num_rows@4 referenced in function 如图所示: 1>SqlManager.obj : error LNK2019: unresolved external symbol _mysql_num_rows@4 referenced in function "public: bool __thiscall CSqlManager::GetRec
2020-08-18 10:10:50
543
原创 Visual C++ 2015错误:cl : Command line error D8016: ‘/ZI‘ and ‘/Gy-‘ command-line options are incompati
cl : Command line error D8016: ‘/ZI’ and ‘/Gy-’ command-line options are incompatible 解决方案: 第一步: project右键 -> properties -> C/C++ -> Debug Information Format -> select:Program Database(/Zi) 第二步: C/C++ -> Code Generation -> Ena
2020-08-14 15:23:09
706
原创 visual C++2015报错:error LNK2019: unresolved external symbol “public: __thiscall Json::Value::Value等
1>InfoAccessControl.obj : error LNK2019: unresolved external symbol "public: __thiscall Json::Value::Value(enum Json::ValueType)" (??0Value@Json@@QAE@W4ValueType@1@@Z) referenced in function "public: bool __thiscall AccessNode1::ReadJson(class std::basi
2020-08-12 14:19:40
1751
原创 visual C++ 2015报错:error LNK2019: unresolved external symbol __imp__curl_global_init referenced in
太难了,报了一堆错~ 1>HttpClient.obj : error LNK2019: unresolved external symbol __imp__curl_global_init referenced in function “public: __thiscall CHttpClient::CHttpClient(void)” (??0CHttpClient@@QAE@XZ) 1>HttpClient.obj : error LNK2019: unresolved external
2020-08-12 10:33:12
903
原创 visual C++ 2015报错:error LNK2001: unresolved external symbol ExtractParam
visual C++ 2015报错:error LNK2001: unresolved external symbol ExtractParam 如图所示: 解决方案: 找到字段ExtractParam 在前面加上“;”即可 如图: 小白一枚~不断学习总结错误就是最好的提升!
2020-08-12 10:07:42
333
原创 visual C++ 2015报错:LINK : fatal error LNK1104: cannot open file ‘daouuid.lib‘
visual C++ 2015报错:LINK : fatal error LNK1104: cannot open file ‘daouuid.lib’ 如图所示: 解决方案: 这个是vc自带的lib库,替换成vs2015的库即可。
2020-08-12 09:56:31
1328
1
原创 error LNK2005: __CRT_RTC_INIT already defined in libcmtd.lib(_init_.obj)
error LNK2005: __CRT_RTC_INIT already defined in libcmtd.lib(init.obj) 解决方案: 忽略重复定义:到 Project –> Linker –> Command Line 下输入: /FORCE:MULTIPLE 如图所示: 就这样解决啦!
2020-08-12 09:47:58
1389
基于红外遥控的LED控制实验-Arduino.doc
2020-05-26
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅