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

https://www.tsingfun.com/it/tech/1083.html 

基于PECL OAuth打造微博应用 - 更多技术 - 清泛网 - 专注C/C++及内核技术

...,所以要扩展一下PECL OAuth,并且尽可能兼容原类的使用方法和习惯: <?php class MicroblogOAuth extends OAuth { public $consumer_key; public $signature_method; public $auth_type; public $nonce; public $timestamp; public $token; ...
https://www.tsingfun.com/it/cpp/2255.html 

Windows x64编程中寄存器的使用 - C/C++ - 清泛网 - 专注C/C++及内核技术

...从 r11 处得到 rflags 值,因此在进入 system services routine(系统服务例程)前,或者在系统服务例程中的第1个任务是 rcx 与 r11 寄存器,以便 sysret 返回。 在 Win64 里,r10 寄存器充当保存 rcx 值的作用,如下: NtCallbackReturn: 00000000...
https://www.tsingfun.com/it/cpp/2071.html 

C++模板的特化 - C/C++ - 清泛网 - 专注C/C++及内核技术

...t2 : t1; } 再谈谈函数模板参数的推导,大致有以下几种方法,但是不管怎么推导,都必须得保证在调用函数前能确定模板函数的各个模板参数的类型。 template <typename T1, typename T2> T2 fun(T1 arg1, int arg2) { T2 t2; return t2; ...
https://www.tsingfun.com/it/cpp/644.html 

C++模板-继承-具现化 - C/C++ - 清泛网 - 专注C/C++及内核技术

...在学习effective c++中的第49个条款时,遇到一个模板继承的方法,让我打开眼界,感慨万千啊!具体的代码如下:class NewHandlerHolde 今天在学习effective c++中的第49个条款时,遇到一个模板继承的方法,让我大开眼界,感慨万千啊!...
https://www.tsingfun.com/it/cpp/967.html 

ATL创建的ActiveX(COM组件)实现JS回调 - C/C++ - 清泛网 - 专注C/C++及内核技术

...OD, &params,NULL,NULL,NULL); return S_OK; } JS调用方法: <script type="text/javascript"> function OnClick() { var activeX = document.getElementById("ActiveX"); activeX.FileExtFilter = "所有文件(*.*)|*.*||"; activeX.Te...
https://www.tsingfun.com/it/cpp/1354.html 

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

... 点“详情”: 点“预览”: BugTrap使用方法: BOOL CMarketInfoApp::InitInstance() { ... SetRegistryKey(_T("应用程序向导生成的本地应用程序")); // 开启程序崩溃感知 SetUnhandledExceptionFilter(MyUnhandledExceptionFilter); ...
https://www.tsingfun.com/it/cpp/1360.html 

Windows应用程序异常:异常代码: 0xc0000005 - C/C++ - 清泛网 - 专注C/C++及内核技术

...时可以打开Windows的应用程序日志,查看崩溃信息。操作方法,我的电脑右键管理:错 有时应用程序异常崩溃,没有留下任何痕迹,追踪困难。这时可以打开Windows的应用程序日志,查看崩溃信息。 操作方法,我的电脑右键“...
https://www.tsingfun.com/it/cpp/1362.html 

VS2005中SetUnhandledExceptionFilter函数应用 - C/C++ - 清泛网 - 专注C/C++及内核技术

...是很遗憾,Microsoft却没有在相应的文档明确指出。 解决方法 之所以应用程序捕获不到那些异常,原因是因为新版本的CRT实现在异常处理中强制删除所有应用程序先前设置的捕获函数,如下所示: /* Make sure any filter alrea...
https://www.tsingfun.com/it/cpp/1423.html 

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

...t(3, "str3"); map.SetAt(1, "str11"); //把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...
https://www.tsingfun.com/it/cpp/1435.html 

std::find,std::find_if使用小结 - C/C++ - 清泛网 - 专注C/C++及内核技术

...L的find,find_if函数提供了一种对数组、STL容器进行查找的方法。使用该函数,需 #include <algorithm>我们查找一个list中的数据,通常...STL的find,find_if函数提供了一种对数组、STL容器进行查找的方法。使用该函数,需添加 #include <al...