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

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

cmake与autoconf+automake的对比 - C/C++ - 清泛网 - 专注C/C++及内核技术

...stall(DIRECTORY dirs..) 条件语句 使用Make的条件语句 if() endif if(my) else(my) endif(my) while(condition) endwhile(condition) 执行外部命令 exec_program(commd ) 子模块 include() 信息输出 messge(STATUS "messge") ...
https://www.tsingfun.com/it/cpp/1282.html 

解决:Run-Time Check Failure #0,The value of ESP was not properly sav...

...lared with one calling convention with a function pointer declared with a different calling convention. 错误原因: 你定义函数指针原型时出错。 其实你定义的没有错,但是编译器不认识而已,因为你调用的dll函数是一个远函数,而且是一个C函数,...
https://www.tsingfun.com/it/cpp/1420.html 

MFC CSplitterWnd的用法详解 - C/C++ - 清泛网 - 专注C/C++及内核技术

...// TODO: Add your specialized code here and/or call the base class   if (!m_wndSplitter.CreateStatic(this, 1, 2))    return FALSE;   if (!m_wndSplitter.CreateView(0, 0, RUNTIME_CLASS(CLeftView), CSize(160, 200), pContext) ||    !m_wndSplitter.CreateView(0, 1, RUNTIME_CLASS(...
https://www.tsingfun.com/it/cpp/1423.html 

CMap用法 - C/C++ - 清泛网 - 专注C/C++及内核技术

...; //把str1覆盖了 //查找(方法一:Lookup) CString str; if (map.Lookup(1, str)) { printf("find:%s\n", str); } //查找(方法二:PLookup) CMapInt::CPair* pPair = map.PLookup(1); if (pPair) { printf("find:%s\n", pPair->value); } //遍历 CMapInt::C...
https://www.tsingfun.com/it/cpp/1491.html 

c++ boost库 序列化与反序列化 - C/C++ - 清泛网 - 专注C/C++及内核技术

... BOOST_SERIALIZATION_SHARED_PTR(TestStruct); 2、save、load函数: #ifndef STRUCT_SAVE_LOAD_H_ #define STRUCT_SAVE_LOAD_H_ // #include <string> #include <fstream> // #include "boost/archive/text_iarchive.hpp" #include "boost/archive/text_oarchive.hpp" #include "boost/archive/xml_iarch...
https://www.tsingfun.com/it/cpp/1492.html 

vc/mfc *通配符 批量删除文件 - C/C++ - 清泛网 - 专注C/C++及内核技术

... FileOp.pFrom = delFileName; FileOp.pTo = NULL; if (SHFileOperation(&FileOp) != 0) printf("删除文件:%S失败(Error:%d)\n", delFileName, GetLastError()); return 0; } 经过测试,文件路径必须为绝对路径,相对路径会操作...
https://www.tsingfun.com/it/cpp/1496.html 

c++ boost::multi_index composite keys efficiency - C/C++ - 清泛网 - 专注C/C++及内核技术

...cal order, i.e. sorting is performed by the first key, then the second key if the first one is equal, etc". Does this mean that the structure is stored such that a lookup for a specific 2-part composite key will take O(n=1) time, i.e. is the container sorted such that there is a pointer directly to ...
https://www.tsingfun.com/it/cpp/1497.html 

C++字符串截断时中文的处理问题(中文被截断怎么处理?) - C/C++ - 清泛网...

...理?) 防止后台错误消息中汉字双字节被截断出现乱码if (pRspMsg->RspMsg.buf[pRspMsg->RspMsg.Length() - 2] & 0x80) pRspMsg->Rsp...// 防止后台错误消息中汉字双字节被截断出现乱码 if (pRspMsg->RspMsg.buf[pRspMsg->RspMsg.Length() - 2] & 0x80) //是否是...
https://www.tsingfun.com/it/cpp/1498.html 

c++读注册表 - C/C++ - 清泛网 - 专注C/C++及内核技术

...xx")); HKEY hKey; LONG rc = RegOpenKey(HKEY_LOCAL_MACHINE, key, &hKey); if (ERROR_SUCCESS == rc) { WCHAR szBuffer[MAX_PATH]; DWORD dwBufferSize = sizeof(szBuffer); rc = RegQueryValueEx(hKey, _T("Path"), NULL, NULL, (LPBYTE)szBuffer, &dwBufferSize); if (ERROR_S...
https://www.tsingfun.com/it/cpp/1539.html 

csplitterwnd 窗口不能自适应的解决方法 - C/C++ - 清泛网 - 专注C/C++及内核技术

csplitterwnd 窗口不能自适应的解决方法if (!m_wndSplitterH.CreateView(0, 0, RUNTIME_CLASS(CGraphFrame), sizeDummy, pContext)) { TRACE0("Failed to cr...if (!m_wndSplitterH.CreateView(0, 0, RUNTIME_CLASS(CGraphFrame), sizeDummy, pContext)) { TRACE0("Failed to ...