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

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

C++读写EXCEL文件方式比较 - C/C++ - 清泛网 - 专注C/C++及内核技术

...导表工具,比较了常用的方法,总结一下写个短文: 1.OLE的方式 这个大约是最常用的方式,这个方式其实启动了一个EXCEL的进程在背后读写EXCEL文件,这个方式的最大好处是什么事情都能做。包括设置EXCEL的格式,增加删除She...
https://www.tsingfun.com/it/cpp/1467.html 

php array为空的判断 - C/C++ - 清泛网 - 专注C/C++及内核技术

...($arr),size($arr);$arr= array("");echo count($arr);echo size($arr); 输出1...如何判断PHP数组是否为空 PHP判断数组为空首选方法:count($arr), size($arr); $arr= array(""); echo count($arr); echo size($arr); //输出1 $arr= array(); echo count($arr); echo size($arr)...
https://www.tsingfun.com/it/cpp/1469.html 

MFC SysLink的使用方法 - C/C++ - 清泛网 - 专注C/C++及内核技术

...FC 应用程序上添加超链接。下面说一下简单的使用方法:1、 首先建立一个基于对话框的MFC工...MFC中有一个 SysLink Control 的控件,用于在 MFC 应用程序上添加超链接。下面说一下简单的使用方法: 1、 首先建立一个基于对话框的...
https://www.tsingfun.com/it/cpp/1492.html 

vc/mfc *通配符 批量删除文件 - C/C++ - 清泛网 - 专注C/C++及内核技术

...当前路径拼上相对路径代码如下: char szDelPath[MAX_PATH + 1] = { 0 }; GetCurrentDirectory(MAX_PATH, szDelPath); CString delFileName; delFileName.Format("%s\\test_*.xml", szDelPath); 补充: 不过SHFileOperation方法有时不起作用,用起来结果飘忽不定,...
https://www.tsingfun.com/it/cpp/1503.html 

预编译头文件来自编译器的早期版本,或者预编译头为 C++ 而在 C 中使用它(...

...,如果项目中同时混合有 .c 和 .cpp 源文件,则可能收到 C1853 编译器错误:fatal error C1853: 'pjtname.pch' precompiled header file is from a previous version of the compiler, or the precompiled header is C++ and you are using it from C (or vice versa)(致命错误C1853: “...
https://www.tsingfun.com/it/cpp/1524.html 

error: ‘uint16_t’ does not name a type - C/C++ - 清泛网 - 专注C/C++及内核技术

error: ‘uint16_t’ does not name a type#include <stdint.h> 解决。 ** * @file stdint.h * Copyright 2012, 2013 MinGW.org project * * Permission is hereby ...#include <stdint.h> 解决。 /** * @file stdint.h * Copyright 2012, 2013 MinGW.org project * * Permission is hereby granted, ...
https://www.tsingfun.com/it/cpp/1528.html 

sizeof、strlen简单总结 - C/C++ - 清泛网 - 专注C/C++及内核技术

... char* p4字符串长度std::string4字符串长度&quot;......&quot;字符串长度+1 (' 0')字符串长度 sizeof strlen const char* p 4 字符串长度 std::string 4 字符串长度 &quot;......&quot; 字符串长度+1 ('\0') 字符串长度 sizeof strlen 总...
https://www.tsingfun.com/it/cpp/1552.html 

c++关闭按钮灰掉 - C/C++ - 清泛网 - 专注C/C++及内核技术

...关闭按钮ID UINT ID = pMenu->GetMenuItemID(pMenu->GetMenuItemCount()-1); //使关闭按钮无效 pMenu->EnableMenuItem(ID,MF_GRAYED); 启用: //获得系统菜单 CMenu *pMenu = GetSystemMenu(false); //获得关闭按钮ID UINT ID = pMenu->GetMenuItemID(pMenu->GetMenuItemCount()-1); ...
https://www.tsingfun.com/it/cpp/1559.html 

MFC中使用CSplitterWnd分割窗口后视图大小的问题 - C/C++ - 清泛网 - 专注C/C++及内核技术

...的结果。 CSize sizeDummy; m_wndSplitterH.CreateStatic(this, 2, 1); if (!m_wndSplitterH.CreateView(0, 0, RUNTIME_CLASS(CGraphFrame), sizeDummy, pContext)) 这时,你可以: 1、设置一下m_wndSplitterH的SetRowInfo属性函数,如:m_wndSplitterH.SetRowInfo(0,100,0); (...
https://www.tsingfun.com/it/cpp/1578.html 

MFC中MDI消息处理流程 - C/C++ - 清泛网 - 专注C/C++及内核技术

...式进行处理,例如一个WM_COMMAND消息的处理流程可能为:1) MDI主窗口(CMDIFrameWnd)收到命令消息WM_C...在MFC中,消息是通过一个向上递交的方式进行处理,例如一个WM_COMMAND消息的处理流程可能为: 1) MDI主窗口(CMDIFrameWnd)收到命令...