大约有 40,000 项符合查询结果(耗时:0.0503秒) [XML]

https://www.tsingfun.com/it/cpp/gcc-asan.html 

gcc自带内存泄漏、内存越界检测工具 - asan - C/C++ - 清泛网 - 专注C/C++及内核技术

gcc自带内存泄漏、内存越界检测工具 - asangcc-asanasan内存异常检测工具,功能类似valgrind,不过是gcc自带的原生工具,使用起来非常简单,只需要链接时加上 -lasan 即可。(编译选项也可以加上 -fsanitize=address)测试代码如 asan内...
https://www.tsingfun.com/it/cp... 

C++ protobuf使用入门实例 - C/C++ - 清泛网 - 专注C/C++及内核技术

C++ protobuf使用入门实例cpp_protobuf_demoprotobuf 是结构化数据的系列化 反序列化解决方案,类似XML JSON,但他的运行效率及压缩率均较后者高一个数量级,且完全的跨平台。使用步骤如下:1、定义一个 proto数据结构文件 protobuf 是结...
https://www.tsingfun.com/it/cp... 

【解决】asan runtime does not come first in initial library list - C/C...

【解决】asan runtime does not come first in initial library listasan-issue-with-asan-library-loading报错信息:ASan runtime does not come first in initial library list; you should eitherlink runtime to your applicationor manually preload it with L 报错信息: ASan runtime does not com...
https://www.tsingfun.com/it/cp... 

C++ 打开文件,以清空覆盖的方式 - C/C++ - 清泛网 - 专注C/C++及内核技术

C++ 打开文件,以清空覆盖的方式cpp_fstream_trunc_out_inC++ 打开文件,以清空覆盖的方式,代码如下:std::unique_ptr<ostream> stream = std::make_unique<fstream>("xxx", ios::trunc | ios::out | ios::in);*stream << "co C++ 打开文件,以清空覆盖的方式,代码如...
https://www.tsingfun.com/it/cp... 

CDHtmlDialog的基本使用(C++调用JS函数的实现) - C/C++ - 清泛网 - 专注C/C++及内核技术

CDHtmlDialog的基本使用(C++调用JS函数的实现)CDHtmlDialog_cpp_call_js_interactive《CDHtmlDialog的基本使用(JS调用C++函数的实现)》本文基于以上文章,在其代码基础上拓展:一、在主对话框上添加一个C++按钮,步骤如下:...《CDHtmlDialog...
https://www.tsingfun.com/it/cp... 

ATL CComPtr和CComQIPtr详解 - C/C++ - 清泛网 - 专注C/C++及内核技术

ATL CComPtr和CComQIPtr详解ATL-CComPtr-CComQIPtrCComPtr和CComQIPtr的不同的地方:CComPtr只能创建固定的特定的接口指针实例。而CComQIPtr不但实现了CComPtr的所有的功能,而且当我们把一个不同类型的接口指针赋值给CComQIPtr的时候,CComQIPtr会自...
https://www.tsingfun.com/it/cp... 

CDHtmlDialog的基本使用(C++调用JS函数的实现) - C/C++ - 清泛网移动版 -...

CDHtmlDialog的基本使用(C++调用JS函数的实现)CDHtmlDialog_cpp_call_js_interactive《CDHtmlDialog的基本使用(JS调用C++函数的实现)》本文基于以上文章,在其代码基础上拓展:一、在主对话框上添加一个C++按钮,步骤如下:...《CDHtmlDialog...
https://www.tsingfun.com/it/cp... 

ATL CComPtr和CComQIPtr详解 - C/C++ - 清泛网移动版 - 专注C/C++及内核技术

ATL CComPtr和CComQIPtr详解ATL-CComPtr-CComQIPtrCComPtr和CComQIPtr的不同的地方:CComPtr只能创建固定的特定的接口指针实例。而CComQIPtr不但实现了CComPtr的所有的功能,而且当我们把一个不同类型的接口指针赋值给CComQIPtr的时候,CComQIPtr会自...
https://www.tsingfun.com/it/cp... 

CDHtmlDialog的基本使用(C++调用JS函数的实现) - C/C++ - 清泛网 - 专注C/C++及内核技术

CDHtmlDialog的基本使用(C++调用JS函数的实现)CDHtmlDialog_cpp_call_js_interactive《CDHtmlDialog的基本使用(JS调用C++函数的实现)》本文基于以上文章,在其代码基础上拓展:一、在主对话框上添加一个C++按钮,步骤如下:...《CDHtmlDialog...
https://www.tsingfun.com/it/cp... 

ATL CComPtr和CComQIPtr详解 - C/C++ - 清泛网 - 专注C/C++及内核技术

ATL CComPtr和CComQIPtr详解ATL-CComPtr-CComQIPtrCComPtr和CComQIPtr的不同的地方:CComPtr只能创建固定的特定的接口指针实例。而CComQIPtr不但实现了CComPtr的所有的功能,而且当我们把一个不同类型的接口指针赋值给CComQIPtr的时候,CComQIPtr会自...