common.h
来自「自动化编译工具代码」· C头文件 代码 · 共 25 行
H
25 行
#pragma once
namespace CCommon
{
CString GetFilePath(LPCTSTR lpszFilePath);
CString GetFileName(LPCTSTR lpszFilePath);
CString GetFileExtName(LPCTSTR lpszFilePath);
CString GetDirFrontDirPath(const CString &strDirPath);
BOOL CreateEmptyFile(LPCTSTR lpszFilePath);
void WinExecAndWait32(LPCTSTR lpszAppPath, LPCTSTR lpParameters = NULL, LPCTSTR lpszDirectory = NULL);
BOOL DeleteDirectory(const char *DirName);
int RandNum(const int nLength);
BOOL BuildProjectSuccessed(const CString &strBuildLogFile);
int FindFiles(const CString strDir, CStringArray &arsFiles,
const CString strFileExtName = "*");
int FindStringPos(const CStringArray &Array, const CString& str);
};
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?