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

https://www.tsingfun.com/it/cpp/1622.html 

CString的截取字符串,截取ip:port - C/C++ - 清泛网 - 专注C/C++及内核技术

CString的截取字符串,截取ip:portCString截取ip:port,代码如下:CString strIpPort = "127.0.0.1:8888";CString strIp, strPort;int index = strIpPort.Find('...CString截取ip:port,代码如下: CString strIpPort = "127.0.0.1:8888"; CString strIp, strPort; int index = strIpPort.Fi...
https://www.tsingfun.com/it/cpp/1700.html 

为什么编译好的libcurl静态lib用不了? - C/C++ - 清泛网 - 专注C/C++及内核技术

...s_when_building_libcur 在需要调用静态lib的工程(非libcurl源代码工程)预编译器中添加 CURL_STATICLIB ,即可解决。 原因解析: curl.h中部分代码 #ifdef CURL_STATICLIB # define CURL_EXTERN #elif defined(WIN32) || defined(_WIN32) || defined(__SYMBIAN...
https://www.tsingfun.com/it/cpp/1918.html 

CListCtrl 如何设置单元格颜色? - C/C++ - 清泛网 - 专注C/C++及内核技术

...各种自定义绘制。 拓展的类为CColorListCtrl,必需引入的代码:ColorListCtrl.zip(4个文件) 将源码引入工程,#include "ColorListCtrl.h",将CListCtrl换成CColorListCtrl,构造函数中指定CColorListCtrl对象的列数(这里假定CListCtrl你已经会用了...
https://www.tsingfun.com/it/cpp/1964.html 

c/c++如何获取CPU的序列号? - C/C++ - 清泛网 - 专注C/C++及内核技术

c/c++如何获取CPU的序列号?获取CPU序列表的完整实例代码如下:#include "stdafx.h"#include <afx.h>CString GetCpuSerial(){unsigned long st1 = 0;un...获取CPU序列表的完整实例代码如下: #include "stdafx.h" #include <afx.h> CString GetCpuSerial() { unsigne...
https://www.tsingfun.com/it/cpp/1966.html 

[源码实例] c/c++获取网卡mac地址 - C/C++ - 清泛网 - 专注C/C++及内核技术

[源码实例] c/c++获取网卡mac地址代码如下:#include "stdafx.h"#include <afx.h>#include < nb30.h > #pragma comment(lib,"netapi32.lib")typedef struct _ASTAT...代码如下: #include "stdafx.h" #include <afx.h> #include < nb30.h > #pragma comment(lib,"netapi32.lib") typedef s...
https://www.tsingfun.com/it/cpp/2041.html 

error C2804:binary \'operator +\' has too many parameters - C/C++ - 清泛网 - 专注C/C++及内核技术

... too many parameterserror C2804:binary 'operator +' has too many parameters代码如下:#include <iostream> #include <string> clas...error C2804:binary 'operator +' has too many parameters 代码如下: #include <iostream> #include <string> class Sales_item { // private...
https://www.tsingfun.com/it/cpp/2045.html 

MiniDumpWriteDump 记录dmp文件的简单实例(附调试方法) - C/C++ - 清泛网...

MiniDumpWriteDump 记录dmp文件的简单实例(附调试方法)实例代码如下:#include <DbgHelp.h>#pragma comment(lib, "Dbghelp.lib")LONG WINAPI ExceptionHandler(LPEXCEPTION_POINTERS pExce...实例代码如下: #include <DbgHelp.h> #pragma comment(lib, "Dbghelp.lib") LONG WINAPI E...
https://www.tsingfun.com/it/cpp/2050.html 

在vc中使用xtremetoolkit界面库-----安装及环境配置 - C/C++ - 清泛网 - 专...

...是有个“ xtremetoolkit的使用.txt”文件吗,把编译时报错的代码的地方用这个文件里面“ XTToolkit调试一则”前面的一部分代码替换就可以了。这还是那时候的笔记,照上面的方法改过来。 首先我们生成一个debug环境下共享的.dll库...
https://www.tsingfun.com/it/cpp/2060.html 

deque iterator not dereferencable 问题 - C/C++ - 清泛网 - 专注C/C++及内核技术

...同一个容器,也会导致出现这种情况。 解决办法:关键代码段不建议用互斥内核对象是因为关键代码段是用户层的,调用很快,互斥内核对象调用需要从用户态转入内核态!时间很长! deque iterator
https://www.tsingfun.com/it/cpp/2067.html 

[工程源码实例] C++ ADO 读写Excel源码及注意点 - C/C++ - 清泛网 - 专注C/C++及内核技术

...excel-ado.zip运行结果截图:生成的Excel截图:主要代码片段: 导入Excel COM支持。。。不过程序编译后即使客户机没...工程源码下载:excel-ado.zip 运行结果截图: 生成的Excel截图: 主要代码片段: //导入E...