大约有 43,300 项符合查询结果(耗时:0.0308秒) [XML]

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

获得ActiveX控件所在网页的对象模型 - C/C++ - 清泛网 - 专注C/C++及内核技术

...对象模型基本上翻译自以下两文http: support.microsoft.com kb 172763 EN-US #appliestohttp: support.microsoft.com kb 181678一. 获得所在IE页...基本上翻译自以下两文 http://support.microsoft.com/kb/172763/EN-US/#appliesto http://support.microsoft.com/kb/181678 一. 获...
https://www.tsingfun.com/it/cp... 

ATL CComPtr和CComQIPtr详解 - C/C++ - 清泛网 - 专注IT技能提升

...针的QueryInterface接口,来获得对应的正确的接口指针。 (1) 构造函数 第一个参数为智能接口指针的类型,第二个参数为 智能指针的接口ID。 CComPtr<IUnknown> punk; 下面三个例子完全相同 CComPtr<IXXX> pno; CComPtr<IXXX,&__uuidof(IXXX)> pno; C...
https://www.tsingfun.com/it/cpp/1195.html 

C++形参与实参的区别(实例解析) - C/C++ - 清泛网 - 专注C/C++及内核技术

...函数的形参从而实现主调函数向被调函数的数据传送。 1、形参变量只有在被调用时才分配内存单元,在调用结束时, 即刻释放所分配的内存单元。因此,形参只有在函数内部有效。 函数调用结束返回主调函数后则不能再使用...
https://www.tsingfun.com/it/cpp/1197.html 

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

...NEWS、 README、 ChangeLog 、AUTHORS文件 将/usr/share/automake-1.X/目录下的depcomp和complie文件拷贝到本目录下 运行aclocal命令 运行autoconf命令 运行automake -a命令 运行./confiugre脚本 我们再看看cmake的步骤: 编写CMakeLists...
https://www.tsingfun.com/it/cpp/1237.html 

C++ template中typename和class的区别 - C/C++ - 清泛网 - 专注C/C++及内核技术

...一些微妙的不同,因为有时候,你不得不使用typename。 1. 在声明 template parameters(模板参数)时,class 和 typename 是可互换的。 2. 用 typename 去标识 nested dependent type names(嵌套依赖类型名),在 base class lists(基类列表)中或在...
https://www.tsingfun.com/it/cpp/1351.html 

c++ 写日志通用类,可设置日志级别 - C/C++ - 清泛网 - 专注C/C++及内核技术

...agma warning(disable:4996) #define LEVEL_FATAL 0 #define LEVEL_ERROR 1 #define LEVEL_WARN 2 #define LEVEL_INFO 3 #define LEVEL_VERBOSE 4 #define LEVEL_DEBUG 5 static int nLoggerLevel = LEVEL_INFO; void SetLoggerLevel(int nLevel); void Log(int nLevel, LPCSTR func, INT line, LPCTSTR ...
https://www.tsingfun.com/it/cpp/1354.html 

BugTrap:程序崩溃快照、bug跟踪之利器 - C/C++ - 清泛网 - 专注C/C++及内核技术

...息 BT_SetAppName(_T("MarketInfo")); BT_SetDialogMessage(BTDM_INTRO1, _T("We're so Sorry, program crashed because of our mistakes !")); BT_SetDialogMessage(BTDM_INTRO2, _T("本程序会尝试收集仅与此次异常崩溃相关的数据,请将此报告发送给我们以便帮助我们开...
https://www.tsingfun.com/it/cpp/1371.html 

PHP报错:Only variables should be passed by reference - C/C++ - 清泛网 - 专注C/C++及内核技术

... 第406行:$tag_sel = array_shift(explode(' ', $tag)); 解决办法 1 : 5.3以上版本的问题,应该也和配置有关 只要406行把这一句拆成两句就没有问题了 $tag_sel = array_shift(explode(' ', $tag)); 改成: $tag_arr = explode(' ', $tag); $tag_sel = array_shi...
https://www.tsingfun.com/it/cpp/1383.html 

C++ 线程安全的单例模式 - C/C++ - 清泛网 - 专注C/C++及内核技术

...是如果处理大量数据时,该锁才成为严重的性能瓶颈。 1、静态成员实例的懒汉模式: class Singleton { private: static Singleton* m_instance; Singleton(){} public: static Singleton* getInstance(); }; Singleton* Singleton::getInstance() { i...
https://www.tsingfun.com/it/cpp/1432.html 

向CListView控件发LVN_COLUMNCLICK消息 - C/C++ - 清泛网 - 专注C/C++及内核技术

... memset(&nmListView, 0, sizeof(nmListView)); nmListView.iItem = -1;//NOT USED IN HERE nmListView.iSubItem = index;//INDEX VALUE nmListView.hdr.hwndFrom = listCtrl.GetSafeHwnd(); nmListView.hdr.idFrom = listCtrl.GetDlgCtrlID(); nmListView.hdr.code = LVN_C...