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

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

csplitterwnd 窗口不能自适应的解决方法 - C/C++ - 清泛网 - 专注C/C++及内核技术

csplitterwnd 窗口不能自适应的解决方法if (!m_wndSplitterH.CreateView(0, 0, RUNTIME_CLASS(CGraphFrame), sizeDummy, pContext)) { TRACE0("Failed to cr...if (!m_wndSplitterH.CreateView(0, 0, RUNTIME_CLASS(CGraphFrame), sizeDummy, pContext)) { TRACE0("Failed to ...
https://www.tsingfun.com/it/cpp/1823.html 

Linux automake自动编译全攻略 - C/C++ - 清泛网 - 专注C/C++及内核技术

Linux automake自动编译全攻略通过一个简单但经典、全面的例子教大家如何使用automake自动编译自己的工程。automake通常用于大型工程的自动化编译,我们只需编写Makefile...通过一个简单但经典、全面的例子教大家如何使用automake自...
https://www.tsingfun.com/it/cpp/1875.html 

c语言字符串常量内容是否可以通过指针修改 - C/C++ - 清泛网 - 专注C/C++及内核技术

...改答案是:不行。尝试修改的话,运行时程序会崩溃。int main(){ char str1[40]="hello world!"; char *str1="hello world!"...答案是:不行。尝试修改的话,运行时程序会崩溃。 int main() { char str1[40]="hello world!"; //char *str1="hello world!"; ...
https://www.tsingfun.com/it/cpp/1902.html 

c++文件流基本用法(ifstream, ostream,fstream) - C/C++ - 清泛网 - 专注C/C++及内核技术

...你只能读写文本文件。否则会报错。 例一: 写文件 #include <fstream.h> void main { ofstream file; file.open("file.txt"); file<<"Hello file/n"<<75; file.close(); } 例二: 读文件 #include <fstream.h> void main { ifstream file; char outpu...
https://www.tsingfun.com/it/cpp/1964.html 

c/c++如何获取CPU的序列号? - 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() { unsigned long ...
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/2033.html 

atol 头文件 - C/C++ - 清泛网 - 专注C/C++及内核技术

atol 头文件#include <stdlib>函数名:atol功能: 把字符串转换成长整型数用法: longatol(const char *nptr);程序例:#include <stdlib.h> #includ...#include <stdlib.h> 函数名: atol 功 能: 把字符串转换成长整型数 用 法: long atol(const char *nptr); 实例: ...
https://www.tsingfun.com/it/cpp/2092.html 

error C2440: “return”: 无法从“const Screen”转换为“Screen &” - C/...

error C2440: “return”: 无法从“const Screen”转换为“Screen &”转换丢失限定符。出错代码(例子来自c++ primer 4th):Screen& Screen::display(std::ostream& os) const{ os << contents...转换丢失限定符。 出错代码(例子来自c++ primer 4th): Screen...
https://www.tsingfun.com/it/cpp/2093.html 

error C2662: “Screen::move”: 不能将“this”指针从“const Screen”转...

error C2662: “Screen::move”: 不能将“this”指针从“const Screen”转换为“ Screen &” 转换丢失限定符出错代码: 成员函数定义Screen& Screen::move(index r,index c){ index row = r * width; cursor = row + c;...出错代码: //成员函数定义 Screen& Scr...
https://www.tsingfun.com/it/cpp/2117.html 

Error: must call SetScrollSizes() or SetScaleToFitSize()问题的解决 - C...

...调试发现程序进入下面的错误处理中。 void CScrollView::OnPrepareDC(CDC* pDC, CPrintInfo* pInfo) { ASSERT_VALID(pDC); #ifdef _DEBUG if (m_nMapMode == MM_NONE) { TRACE(traceAppMsg, 0, "Error: must call SetScrollSizes() or SetScaleToFitSize()"); ...