![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
visual studio
杨漂亮最漂亮
不断的总结错误就是最好的提升!
展开
-
Hex文件解析、校验
最近有解析hex文件的需求,肝出来后共享给大家。直接上代码了,有需要的自取。原创 2024-03-20 15:41:46 · 366 阅读 · 0 评论 -
listCtrl实现全选、反选、双击编辑
2.右键listCtrl-添加事件处理程序-消息类型NM_DBLCLK,改为自己的实现类。LVS_EX_CHECKBOXES就是勾选框,加了它listCtrl前面就有一个勾选框。edit控件右键-添加事件处理程序-消息类型EN_KILLFOCUS。1.拉一个edit控件,右键属性设置不可见。3.edit控件添加事件处理程序。原创 2024-01-25 15:56:48 · 533 阅读 · 0 评论 -
listCtrl实现右键菜单
listCtrl右键-添加事件处理程序-消息类型NM_RCLICK,类改为你自己的实现类。步骤:资源视图-Menu右键添加资源-新建。菜单项-右键-添加事件处理程序-改为你的实现类。三、添加listCtrl右键事件处理程序。五、添加菜单项的事件处理。原创 2024-01-25 15:33:26 · 466 阅读 · 0 评论 -
vcpkg安装boost库
//1.安装boost库 32位/64位vcpkg install boost:x86-windowsvcpkg install boost:x64-windows//2.查看已安装列表vcpkg list//3.引入项目组中.\vcpkg integrate install第一步截图如下:第二步截图如下第三步截图如下代码中直接调用即可,不用自己引入库目录,已经整合到VS里面了可以看到文件跳转后,boost路径在vcpkg目录下...原创 2022-03-17 10:41:58 · 5783 阅读 · 1 评论 -
C++ libcurl Digest Auth
C++ libcurl Digest Authpostman操作如下:附认证原理如下: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 · 987 阅读 · 0 评论 -
visual c++: error C3861: ‘system‘: identifier not found
#include <stdlib.h>原创 2020-09-03 16:23:13 · 693 阅读 · 0 评论 -
vs2015: error C2065: ‘cout‘: undeclared identifier,‘endl‘: undeclared identifier
study1.cpp(8): error C2065: 'cout': undeclared identifierstudy1.cpp(8): error C2065: 'endl': undeclared identifier解决方案:加头文件,名字空间#include using namespace std;原创 2020-09-02 09:39:03 · 623 阅读 · 0 评论 -
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 · 445 阅读 · 0 评论 -
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 · 378 阅读 · 0 评论 -
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 · 490 阅读 · 0 评论 -
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 · 1496 阅读 · 0 评论 -
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 · 637 阅读 · 0 评论 -
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 · 184 阅读 · 0 评论 -
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 · 1068 阅读 · 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 · 1057 阅读 · 0 评论