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

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

为何用了MoveWindow函数后窗口不显示 - C/C++ - 清泛网 - 专注C/C++内核技术

...eate(IDD_xxx_DIALOG, this);dlg.MoveWindow(10, 10, 100, 100);调用对话框MoveWindow函数后,对话框不显示?调...CxxxDlg dlg;dlg.Create(IDD_xxx_DIALOG, this); dlg.MoveWindow(10, 10, 100, 100); 调用对话框MoveWindow函数后,对话框不显示?调用ShowWindow(SW_SHOW)才...
https://www.tsingfun.com/it/cpp/1580.html 

MFC窗口设置TopMost置顶几种方法 - C/C++ - 清泛网 - 专注C/C++内核技术

MFC窗口设置TopMost置顶几种方法方法一:网上常见pDlg->SetWindowPos(&CWnd::wndTopMost,0,0,0,0,SWP_NOMOVE|SWP_NOSIZE);或pDlg->SetWindowPos(pDlg->GetStyle() & WS...方法一:网上常见 pDlg->SetWindowPos(&CWnd::wndTopMost, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE); 或 pDlg-...
https://www.tsingfun.com/it/cpp/1617.html 

memcmp memicmp区别 - C/C++ - 清泛网 - 专注C/C++内核技术

...cmp memicmp区别memcmp memicmp函数功能:比较内存区域buf1和buf2count个字节。memicmp同memcmp唯一区别是memicmp不区分大小写字母。memcmp memicmp函数功能:比较内存区域buf1和buf2count个字节。用法同strcmp类似。 memicmp同memcmp唯一...
https://www.tsingfun.com/it/cpp/1933.html 

MFC Edit控件只允许输入整数,不允许小数、负数 - C/C++ - 清泛网 - 专注C/...

...只允许输入整数,不允许小数、负数资源rc中设置Edit控件Number属性为true即可:这样,Edit控件就只能输入整数,负号、小数点等非数字无法输入。资源rc中设置Edit控件Number属性为true即可: 这样,Edit控件就只能输入整数...
https://www.tsingfun.com/it/cpp/2141.html 

VC IP地址控件(CIPAddressCtrl )自绘 - C/C++ - 清泛网 - 专注C/C++内核技术

VC IP地址控件(CIPAddressCtrl )自绘先看效果图:代码:.h#pragma once class CMyIPCtrl : public CIPAddressCtrl{DECLARE_DYNAMIC(CMyIPCtrl)public:CMyIPCtrl();virtua...先看效果图: 代码: .h #pragma once class CMyIPCtrl : public CIPAddressCtrl { DECLARE_DYNAMI...
https://www.tsingfun.com/it/cpp/2175.html 

如何把一个POINT转化为lParam参数 - C/C++ - 清泛网 - 专注C/C++内核技术

...为lParam参数MAKELPARAM(pt.x, pt.y);反之:CPoint point(lParam);里面实现是:CPoint(_In_ LPARAM dwPoint) throw();...ATLTYPES_INLINE CPoin...MAKELPARAM(pt.x, pt.y); 反之: CPoint point(lParam); 里面实现是: CPoint(_In_ LPARAM dwPoint) throw(); ... ATLTYPES_INLI...
https://www.tsingfun.com/it/cpp/2221.html 

C++ 得系统当前时间 - C/C++ - 清泛网 - 专注C/C++内核技术

...只能精确到秒#include <time.h> time_t tt = time(NULL); 这句返回只是一个时间戳 tm* t= localtime(&tt); printf("%d...方法一,只能精确到秒 #include <time.h> time_t tt = time(NULL);//这句返回只是一个时间戳 tm* t= localtime(&tt); printf("%d-%02d-%02d %02...
https://www.tsingfun.com/it/cpp/2472.html 

c++ volatile关键字简析 - C/C++ - 清泛网 - 专注C/C++内核技术

...简析volatile防范冲突,提高效率。降低CPU Cache Line锁冲突几率。不同于普通变量在于:CPU缓存中有值话,也得从内存中重新加载到缓存(普通变量不会);即认为寄存器值不可靠, volatile 防范冲突,提高效率。降低CPU Cache L...
https://www.tsingfun.com/it/cp... 

VS编译dll时报编译错误:fatal error LNK1561: entry point must be define...

...atal error LNK1561: entry point must be defined1、可能是连接命令中 subsystem不正确,在Project Properties->Linker->System中设置,改为 VS编译dll时报编译错误:fatal error LNK1561: entry point must be defined 1、可能是连接命令中/subsystem不正确,在Pro...
https://www.tsingfun.com/it/cp... 

Eclipse CDT利用gdbserver远程调试 - C/C++ - 清泛网 - 专注C/C++内核技术

...A,目标机器B 1、目标机器上启动gdbserver,attach需要调试进程: ps -elf | grep (process) gdbserver --attach :10000 (pid) 2、调试机器上启动Eclipse Attach模式: 剩下和本地gdb调试就一样了。 eclipse cdt gdbserver gdb 远程调试