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

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 = (void *)0x42fb0000; memcpy(&f1, &p, 4);...
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 = (void *)0x42fb0000; memcpy(&f1, &p, 4);...
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 = (void *)0x42fb0000; memcpy(&f1, &p, 4);...
https://bbs.tsingfun.com/thread-705-1-1.html 

stdbool.h C99标准杂谈 - c++1y / stl - 清泛IT社区,为创新赋能!

...onforms to the standard for the C language as set forth in the 9899:1990 edition of the ANSI C standard. VS2012不支持: https://social.msdn.microsoft.com/Forums/zh-CN/19818b42-3a4c-47bd-94d3-5dcde7f0df70/vs2012-c99 但是貌似自VS2013开始部分支持: http://www.cnblogs.com/zenny-c...
https://bbs.tsingfun.com/thread-774-1-1.html 

c++ boost库 序列化与反序列化 - c++1y / stl - 清泛IT社区,为创新赋能!

...SERIALIZATION_NVP(obj.UserID); } BOOST_SERIALIZATION_SHARED_PTR(TStopProfitOrder); 2、save、load函数: #ifndef STRUCT_SAVE_LOAD_H_ #define STRUCT_SAVE_LOAD_H_ // #include &lt;string&gt; #include &lt;fstream&gt; // #include &quot;boost/archive/text_iarchive.hpp&quot; #include &quot;boost/ar...
https://bbs.tsingfun.com/thread-578-1-1.html 

解决IIS发布时global_asax的dll 的CS0433冲突问题 - 环境配置 - 清泛IT社区,为创新赋能!

Server Error in '/' Application.Compilation ErrorDescription: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. Compiler Error Message: CS0433: The type 'ASP.globa...
https://bbs.tsingfun.com/thread-816-1-1.html 

c++读注册表 - c++1y / stl - 清泛IT社区,为创新赋能!

CString key; key.Format(_T(&quot;Software\\Microsoft\\Windows\\CurrentVersion\\App Paths\\xxx&quot;)); HKEY hKey; LONG rc = RegOpenKey(HKEY_LOCAL_MACHINE, key, &amp;hKey); if (ERROR_SUCCESS == rc) { &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;WCHAR szBuffer[MAX_PATH]; &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp...
https://bbs.tsingfun.com/thread-765-1-1.html 

shared_ptr指针被赋值后,原指针会引用清零、自动释放。 - C/C++ - 清泛IT...

shared_ptr指针被赋值后,原指针会引用清零、自动释放。 std::shared_ptr&lt;int&gt; intg; void foo(std::shared_ptr&lt;int&gt; p) { &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;intg = p;&nbsp; &nbsp;// 原指针释放,存储新的智能指针 &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;//*(in...
https://bbs.tsingfun.com/thread-11-1-1.html 

CreateWindow()动态创建一个EditBox - C/C++ - 清泛IT论坛,有思想、有深度

... 2015-1-4 16:21 编辑 在Win32代码或MFC代码中动态创建一个EditBox: 在OnInitDialog()函数中: &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;// 创建EditBox &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;HWND m_wndEdit = CreateWindow(_T(&quot;EDIT&quot;), 0, WS_CHILD | WS_VISIBLE | ES_WANTR...
https://bbs.tsingfun.com/thread-837-1-1.html 

CListCtrl 扩展风格设置方法:SetExtendedStyle和ModifyStyleEx 区别 - C++...

对于初学者来说,当他需要设定listctrl的扩展风格时,常常想到用ModifyStyleEx 来设定,代码如下:ModifyStyleEx(0,LVS_EX_GRIDLINES)&nbsp;&nbsp; 这是不正确的,正确的设定应该是:SetExtendedStyle(LVS_EX_GRIDLINES)&nbsp;&nbsp; 那么,ModifyStyleEx和S...