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

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

进程间通信(IPC)的几种方式 - C/C++ - 泛网 - 专注C/C++及内核技术

进程间通信(IPC)的几种方式进程间通信就是在不同进程之间传播或交换信息,那么不同进程之间存在着什么双方都可以访问的介质呢?进程的用户空间是互相独立的,一般而言...进程间通信就是在不同进程之间传播或交换信息...
https://www.tsingfun.com/it/cpp/1950.html 

C/C++ 如何向上取整? - C/C++ - 泛网 - 专注C/C++及内核技术

C/C++ 如何向上取整?一般地,向上取整有两种方法:#include <math.h>int _tmain(int argc, _TCHAR* argv[]){int a = 6, b = 5; ceil函数printf("%d...一般地,向上取整有两种方法: #include <math.h> int _tmain(int argc, _TCHAR* argv[]) { int a = 6, b = 5; //ce...
https://www.tsingfun.com/it/cpp/1951.html 

[完整源码实例] 修改 CListCtrl 的标题栏字体颜色;重绘 CListCtrl 标题栏 ...

[完整源码实例] 修改 CListCtrl 的标题栏字体颜色;重绘 CListCtrl 标题栏如果只需设置标题栏字体的话,无需自绘CHeaderCtrl,部分代码如下:CFont *f = new CFont; f->CreateFont(13, nHeight ...如果只需设置标题栏字体的话,无需自绘CHeaderC...
https://www.tsingfun.com/it/cpp/1960.html 

c/c++浮点输出时,不显示小数点后没用的0 - C/C++ - 泛网 - 专注C/C++及内核技术

c/c++浮点输出时,不显示小数点后没用的0用%g格式符就可以了。%g用来输出实数,它根据数值的大小,自动选f格式或e格式(选择输出时占宽度较小的一种),且不输出无意义的0。即%g是 用%g格式符就可以了。%g用来输出实数,...
https://www.tsingfun.com/it/cpp/1961.html 

c语言编程中%g是什么格式? - C/C++ - 泛网 - 专注C/C++及内核技术

c语言编程中%g是什么格式?%g用来输出实数,它根据数值的大小,自动选f格式或e格式(选择输出时占宽度较小的一种),且不输出无意义的0。即%g是根据结果自动选择科学...%g用来输出实数,它根据数值的大小,自动选f格式或e...
https://www.tsingfun.com/it/cpp/1962.html 

CListCtrl 行高设置,自定义行高 - C/C++ - 泛网 - 专注C/C++及内核技术

CListCtrl 行高设置,自定义行高先看效果:主要步骤及代码剖析:MyListCtrl.h#pragma onceclass CMyListCtrl : public CListCtrl{public:CMyListCtrl(void);~CMyListC...先看效果: 主要步骤及代码剖析: MyListCtrl.h #pragma once class CMyListCtrl : public CList...
https://www.tsingfun.com/it/cpp/1964.html 

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

c/c++如何获取CPU的序列号?获取CPU序列表的完整实例代码如下:#include "stdafx.h"#include <afx.h>CString GetCpuSerial(){unsigned long st1 = 0;un...获取CPU序列表的完整实例代码如下: #include "stdafx.h" #include <afx.h> CString GetCpuSerial() { unsigne...
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/2025.html 

AfxIsValidAddress 测试内存地址 - C/C++ - 泛网 - 专注C/C++及内核技术

AfxIsValidAddress 测试内存地址Tests any memory address to ensure that it is contained entirely within the program& 39;s memory space 测试任何内存 Tests any memory address to ensure that it is contained entirely within the program's memory space. 测试任何内存地址,以确保它...
https://www.tsingfun.com/it/cpp/2026.html 

c/c++如何判断指针无效?如NULL,0xcccccccc,0xfeeefeee,野指针等 - C/C++ -...

c/c++如何判断指针无效?如NULL,0xcccccccc,0xfeeefeee,野指针等c c++如何判断指针无效?不仅仅是NULL的判断,有时由于指针释放没有赋NULL,指针会变成野指针或诸如0xcccccccc,0xfeeefeee形式的无效指针,...c/c++如何判断指针无效?不仅仅是N...