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

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

mfc 如何隐藏滚动条 - C/C++ - 泛网 - 专注C/C++及内核技术

mfc 如何隐藏滚动条void Cxxx::OnSize(UINT nType, int cx, int cy){ ... ShowScrollBar(SB_BOTH, FALSE); ...}简单粗暴,最实用,亲测有效。void Cxxx::OnSize(UINT nType, int cx, int cy) { ... ShowScrollBar(SB_BOTH, FALSE); ... } 简单粗暴,最实用,...
https://www.tsingfun.com/it/cpp/1966.html 

[源码实例] c/c++获取网卡mac地址 - C/C++ - 泛网 - 专注C/C++及内核技术

[源码实例] c/c++获取网卡mac地址代码如下:#include "stdafx.h"#include <afx.h>#include < nb30.h > #pragma comment(lib,"netapi32.lib")typedef struct _ASTAT...代码如下: #include "stdafx.h" #include <afx.h> #include < nb30.h > #pragma comment(lib,"netapi32.lib") typedef s...
https://www.tsingfun.com/it/cpp/2091.html 

error C2512: “Foo”: 没有合适的默认构造函数可用 - C/C++ - 泛网 - 专...

error C2512: “Foo”: 没有合适的默认构造函数可用错误信息如下:C: Program Files Microsoft Visual Studio 11.0 VC INCLUDE xmemory0(601) : error C2512: Foo: 没有合适的默认构...错误信息如下: C:\Program Files\Microsoft Visual Studio 11.0\VC\INCLUDE\xmemory0(60...
https://www.tsingfun.com/it/cpp/2101.html 

passing xxx as \'this\' argument of xxx discards qualifiers - C/C++ - 泛网 - 专注C/C++及内核技术

passing xxx as 'this' argument of xxx discards qualifiers这是由于常量对象调用了非常量成员函数引起的错误,错误原因在于常量对象只能调用常量成员函数(因为常量成员函数约定不对非静态成员进行修改...这是由于常量对象调用了非常量成...
https://www.tsingfun.com/it/cpp/2185.html 

MFC 时间控件CDataTimeCtrl使用(获取日期、时间字符串等) - C/C++ - 清泛...

MFC 时间控件CDataTimeCtrl使用(获取日期、时间字符串等)设置显示格式: 只显示小时( (CDateTimeCtrl*)GetDlgItem(IDC_StartHour) )->SetFormat(_T("HH"));获取控件的值:CTime m_date;( (CDa...设置显示格式: //只显示小时 ( (CDateTimeCtrl*)GetDlgItem(IDC_S...
https://www.tsingfun.com/it/cp... 

memcpy() 是非线程安全的,并发时需加锁或使用原子操作 - C/C++ - 泛网 -...

memcpy() 是非线程安全的,并发时需加锁或使用原子操作memcpy_thread_unsafe最近调查线上一个问题,就是一块 int32 的内存会极低概率出现 -18亿的巨数字,有时又是正确的。自己刻意测试又不能再现,在确认不可能将这样一个巨量数...
https://www.tsingfun.com/it/bigdata_ai/1077.html 

MySQL和MongoDB设计实例进行对比 - 大数据 & AI - 泛网 - 专注C/C++及内核技术

MySQL和MongoDB设计实例进行对比MySQL是关系型数据库中的明星,MongoDB是文档型数据库中的翘楚。下面通过一个设计实例对比一下二者:假设我们正在维护一个手机产品库,里面...MySQL是关系型数据库中的明星,MongoDB是文档型数据库...
https://www.tsingfun.com/it/cpp/1277.html 

boost Composite keys - C/C++ - 泛网 - 专注C/C++及内核技术

boost Composite keysComposite keysIn relational databases, composite keys depend on two or more fields of a given table The analogous concept in Boost MultiIndex is Composite keys In relational databases, composite keys depend on two or more fields of a given table. The analogous concept in Boos...
https://www.tsingfun.com/it/cpp/1453.html 

MFC 中CImageList的用法 - C/C++ - 泛网 - 专注C/C++及内核技术

MFC 中CImageList的用法图像列表控件(CImageList)是相同大小图像的一个集合,每个集合中均以0为图像的索引序号基数,(可以把这些图标看成是以数组方式存储的)...图像列表控件(CImageList)是相同大小图像的一个集合,每个集...
https://www.tsingfun.com/it/cpp/2234.html 

计算统计特征(正态分布)函数及实例 - C/C++ - 泛网 - 专注C/C++及内核技术

计算统计特征(正态分布)函数及实例main函数:#include "stdafx.h"#include "stdev.h"#include <map>int _tmain(int argc, _TCHAR* argv[]){std::map<int, int> map_...main函数: #include "stdafx.h" #include "stdev.h" #include <map> int _tmain(int argc, _TCHAR* argv[]) { std:...