大约有 35,470 项符合查询结果(耗时:0.0370秒) [XML]

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

c/c++如何获取CPU的序列号? - C/C++ - 清泛网 - 专注C/C++及内核技术

...e "stdafx.h"#include <afx.h>CString GetCpuSerial(){unsigned long st1 = 0;un...获取CPU序列表的完整实例代码如下: #include "stdafx.h" #include <afx.h> CString GetCpuSerial() { unsigned long st1 = 0; unsigned long st2 = 0; unsigned long s1,s2; unsigned ...
https://www.tsingfun.com/it/cpp/2043.html 

error C2872: “count”: 不明确的符号 - C/C++ - 清泛网 - 专注C/C++及内核技术

...flict.cpp(4) : int count 或 C: Program Files Microsoft Visual Studio 11.0 V...error C2872: “count”: 不明确的符号 可能是“conflict.cpp(4) : int count” 或 “C:\Program Files\Microsoft Visual Studio 11.0\VC\INCLUDE\xutility(3251) : iterator_traits<_Iter>::difference_type std::cou...
https://www.tsingfun.com/it/cpp/2045.html 

MiniDumpWriteDump 记录dmp文件的简单实例(附调试方法) - C/C++ - 清泛网...

...ler(LPEXCEPTION_POINTERS pExceptionPointers) { char szFile[MAX_PATH] = {0}; SYSTEMTIME st = {0}; GetLocalTime(&st); sprintf_s(szFile, "xxx_%d%02d%02d_%02d%02d%02d.dmp", st.wYear, st.wMonth, st.wDay, st.wHour, st.wMinute, st.wSecond); HANDLE hDmpFile = ::CreateFileA(sz...
https://www.tsingfun.com/it/cpp/2046.html 

XP风格按钮的实现 - C/C++ - 清泛网 - 专注C/C++及内核技术

...txt改名为 “程序名.manifest”就可以了。 <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> <assemblyIdentity name="XP style manifest" processorArchitecture="x86" version="1.0.0.0" type="win32"/> <depe...
https://www.tsingfun.com/it/cpp/2124.html 

MFC RoundRect、FillRect等函数如何设置颜色 - C/C++ - 清泛网 - 专注C/C++及内核技术

...如何设置颜色RoundRect 颜色: 定义一个画刷 CBrush Brush(RGB(0,0,0)); 用画刷填充矩形pDC->FillRect (&rectEdit,&Brush);FillRect(FillSolidRec...RoundRect 颜色: //定义一个画刷 CBrush Brush(RGB(0,0,0)); //用画刷填充矩形 pDC->FillRect (&rectEdit, &Brush); ...
https://www.tsingfun.com/it/cpp/2177.html 

MFC中通过Tooltip类实现悬浮鼠标显示提示信息 - C/C++ - 清泛网 - 专注C/C++及内核技术

...法如下: 1、在窗口中增加消息映射ON_NOTIFY_EX(TTN_NEEDTEXT, 0, SetTipText) SetTipText是个回调函数,名字叫什么无所谓,符合原型就行了,原型下面会说。 2、EnableToolTips(TRUE),使用这个方法调用这个函数是必不可少的.建议在CDialog...
https://www.tsingfun.com/it/opensource/1236.html 

vs2010编译boost若干问题解决 - 开源 & Github - 清泛网 - 专注C/C++及内核技术

vs2010编译boost若干问题解决首先说下环境,win7,vs2010。先在http: www.boost.org users download 上下载boost安装包,我下的是1.52.0版。按照说明,直接运行bootstr...首先说下环境,win7,vs2010。 先在http://www.boost.org/users/download/上下载boost安...
https://www.tsingfun.com/it/tech/790.html 

正则表达式 不包含指定字符串 - 更多技术 - 清泛网 - 专注C/C++及内核技术

...来实现我们的需求。 实现 测试数据: 2009-07-07 04:38:44 127.0.0.1 GET /robots.txt 2009-07-07 04:38:44 127.0.0.1 GET /posts/robotfile.txt 2009-07-08 04:38:44 127.0.0.1 GET / 例如上面这几条简单的日志条目,我们想实现两个目...
https://www.tsingfun.com/it/tech/1326.html 

内网时间同步问题 - 更多技术 - 清泛网 - 专注C/C++及内核技术

...以下方法进行时间调整: * 如果它确定时钟偏差超过 0.5 秒,它通过调用 settimeofday 子例程设置时钟时间。在引导时间,这是一个首选的方法。 * 如果它确定时钟偏差小于 0.5 秒,它通过调用 adjtime 子例程和偏移量来调整...
https://www.tsingfun.com/it/tech/1398.html 

iOS UI系列 (四) :可复用的Xib(1) 静态内容 - 更多技术 - 清泛网 - 专注C/C++及内核技术

...背景色 添加对应的约束,让两个UIView等宽,且Space都是10, 高度固定,且与周围的约速为10, 对UILabel也设置对应的约速,细节就不写了,看图 使用Xib 在ViewController添加 一个UIView, 并设置对应的约束,连接这个UIView为Controlle...