大约有 950 项符合查询结果(耗时:0.0070秒) [XML]

https://bbs.tsingfun.com/thread-11-1-1.html 

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

本帖最后由 zqp2013 于 2015-1-4 16:21 编辑 在Win32代码或MFC代码中动态创建一个EditBox: 在OnInitDialog()函数中:         // 创建EditBox         HWND m_wndEdit = CreateWindow(_T("EDIT"), 0, WS_C...
https://www.tsingfun.com/it/bigdata_ai/345.html 

海量数据相似度计算之simhash和海明距离 - 大数据 & AI - 清泛网 - 专注C/C++及内核技术

...“4+5 -4+-5 -4+5 4+-5 -4+5 4+5” ==》 “9 -9 1 -1 1 9”。这里作为示例只算了两个单词的,真实计算需要把所有单词的序列串累加。 5、降维,把4步算出来的 “9 -9 1 -1 1 9” 变成 0 1 串,形成我们最终的simhash签名。 如果每一位大于0 ...
https://www.tsingfun.com/it/tech/1390.html 

程序员之网络安全系列(三):数据加密之对称加密算法 - 更多技术 - 清泛网...

...整,但是这就需要明明和丽丽提前设置一个秘钥。 代码示例 下面的代码输出如下结果 I Love You, Li Li Encrypeted: 0t9glwGMmwtGs8B4QCotyZkKf091WElCwG659QiVVw0= Decrypeted: I Love You, Li Li .NET 源码: using System; using System.Security.Cryp...
https://www.tsingfun.com/it/cpp/1460.html 

控件重绘函数/消息OnPaint,OnDraw,OnDrawItem,DrawItem的区别 - C/C++ - 清...

...会调用OnDrawItem。在SDK中,子类是不可能收到WM_DRAWITEM,在MFC中可以,这是类的设计者设计的(反射),这的确不错。 在学习中还有一个消息也是由宿主类被调用的,它就是WM_CTLCOLOR。这个消息是在子控件将要绘画时,向宿主类发送...
https://www.tsingfun.com/it/cpp/2170.html 

解决:CTreeCtrl控件SetCheck无效的问题 - C/C++ - 清泛网 - 专注C/C++及内核技术

...起作用 而对于非初始化中的SetCheck,则不受影响。 MFC CTreeCtrl SetCheck
https://www.tsingfun.com/it/cp... 

[since C++11] std::array的使用 - C/C++ - 清泛网 - 专注C/C++及内核技术

...的一些接口使得数组可以和STL其他组件和谐工作。 综合示例 //----------------------- normal example ---------------------- RUN_GTEST(ArrayTest, NormalExample, @); array<int, 5> a = { 1, 2, 3 }; psln(a.size()); // a.size() = 5; psln(a.max_size()); ...
https://www.tsingfun.com/it/cpp/1441.html 

Windows下 C++网络延时检测 - C/C++ - 清泛网 - 专注C/C++及内核技术

...否正常服务,这就类似telnet命令了。 解决方案参考:《mfc telnet 端口,代码实现、不调用telnet.exe》。 Windows C++ 网络延时
https://stackoverflow.com/ques... 

STAThread and multithreading

...e Thread class from thread.h (the COM thread.h) documented anywhere? Is it MFC, ATL, or something else? – jrh May 5 '17 at 19:18 ...
https://www.tsingfun.com/it/tech/1211.html 

php中json_decode()和json_encode()的使用方法 - 更多技术 - 清泛网 - 专注C/C++及内核技术

... object: {"foo":"bar","baz":"long"} Example #3 连续与非连续数组示例 <?php echo "连续数组".PHP_EOL; $sequential = array("foo", "bar", "baz", "blong"); var_dump( $sequential, json_encode($sequential) ); echo PHP_EOL."非连续数组".PHP_EOL; $nonsequential = ...
https://www.tsingfun.com/it/bigdata_ai/2293.html 

理解Python的 with 语句 - 大数据 & AI - 清泛网 - 专注C/C++及内核技术

...工作更简单。 I have put the code examples given here on Github. 示例代码可以在Github上面找到。 译注:本文原文见Understanding Python's "With" Statement linbo(同济大学·计算机科学与技术系) Python with