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

https://www.tsingfun.com/it/cp... 

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

CDHtmlDialog的基本使用(JS调用C++函数的实现)CDHtmlDialog_js_call_cpp_interactiveCDHtmlDialog JS C++一、建立一个新的MFC Application工程,在下面这一步把HTML Dialog给勾上:二、修改工程中的JSCppInteractive.htm,代码如下:<HTML><HEA...一、建立一个...
https://www.tsingfun.com/it/cp... 

调用空智能指针对象的函数,Windows及Linux行为解析 - C/C++ - 清泛网 - 专...

调用空智能指针对象的函数,Windows及Linux行为解析empty_shared_ptr_call先看结论:Windows下可以调用空智能指针对象的函数,但是函数中访问目标对象的成员变量会崩溃,this指针为nullptr;Linux下Debug版本及不开优化版本也能正常运行...
https://bbs.tsingfun.com/thread-778-1-1.html 

vc/mfc *通配符 批量删除文件 - c++1y / stl - 清泛IT社区,为创新赋能!

直接上代码,可直接运行亲测有效,使用SHFileOperation函数: #include &quot;stdafx.h&quot; #include &lt;windows.h&gt; int _tmain(int argc, _TCHAR* argv[]) { &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;LPTSTR delFileName = L&quot;c:/test/test*.txt&quot;; &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;...
https://bbs.tsingfun.com/thread-514-1-1.html 

Mysql ibdata 丢失或损坏如何通过frm&amp;ibd 恢复数据 - 爬虫/数据库 - 清...

...恢复你的数据。my.ini的设置为 innodb_file_per_table = 1。参考 http://blog.chinaunix.net/uid-24111901-id-2627876.html1、找回表结构,如果表结构没有丢失直接到下一步 a、先创建一个数据库,这个数据库必须是没有表和任何操作的。 b、创建一...
https://bbs.tsingfun.com/thread-309-1-1.html 

Win7以上操作系统清理系统图标缓存脚本 - 脚本技术 - 清泛IT论坛,有思想、有深度

...taskkill /f /im explorer.exe rem 清理系统图标缓存数据库 attrib -h -s -r &quot;%userprofile%\AppData\Local\IconCache.db&quot; del /f &quot;%userprofile%\AppData\Local\IconCache.db&quot; attrib /s /d -h -s -r &quot;%userprofile%\AppData\Local\Microsoft\Windows\Explorer\*&quot; del /f &quot;...
https://www.tsingfun.com/it/cp... 

浮点数在内存中的表示 - C/C++ - 清泛网 - 专注IT技能提升

...的话可以直接修改自行验证其他的例子: #include "stdafx.h" #include <string.h> #include <limits> int _tmain(int argc, _TCHAR* argv[]) { float f1 = FLT_MIN; printf("%f\n", f1); f1 = FLT_MAX; printf("%f\n", f1); // 0 10000101 11110110000000000000000 void * p = (v...
https://www.tsingfun.com/it/cp... 

CDHtmlDialog的基本使用(JS调用C++函数的实现) - C/C++ - 清泛网 - 专注IT技能提升

CDHtmlDialog的基本使用(JS调用C++函数的实现)CDHtmlDialog_js_call_cpp_interactive一、建立一个新的MFC Application工程,在下面这一步把HTML Dialog给勾上:二、修改工程中的JSCppInteractive.htm,代码如下:<HTML><HEA...一、建立一个新的MFC Applicatio...
https://www.tsingfun.com/it/cp... 

cout保留两位小数输出 - C/C++ - 清泛网 - 专注C/C++及内核技术

...cout_two_decimalC++ std::cout输出2位小数的代码: include <stdio h> include <iostream> include <iomanip> std::setprecision函数需要引入该头文件int main(){ double dval C++ std::cout输出2位小数的代码: #include <stdio.h> #include <iostream> #include <iomanip> /...
https://www.tsingfun.com/it/cp... 

Intel SMID指令集编译错误: inlining failed in call to always_inline \'x...

...ining failed in call to always_inline 'xxx': target specific option mismatch xxxintel_smid_compile_error最近在使用CPU指令集优化代码的时候,编译出错,报错如下: usr lib64 gcc x86_64-suse-linux 7 include avx2intrin h:252:1: error: inlining failed in call to always_i 最近...
https://www.tsingfun.com/it/cp... 

浮点数在内存中的表示 - C/C++ - 清泛网移动版 - 专注IT技能提升

...的话可以直接修改自行验证其他的例子: #include "stdafx.h" #include <string.h> #include <limits> int _tmain(int argc, _TCHAR* argv[]) { float f1 = FLT_MIN; printf("%f\n", f1); f1 = FLT_MAX; printf("%f\n", f1); // 0 10000101 11110110000000000000000 void * p = (v...