📄 common.h
字号:
#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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -