globle.h

来自「我要下载源代码我要源代码我要下载代码我要下载源代码」· C头文件 代码 · 共 19 行

H
19
字号
// Globle.h
//Globle.h 
#if !defined  GLOBLE_H
#define  GLOBLE_H

// Delete ReadOnly File whithout prompt a warrning message.
void DeleteReadOnlyFile(CString FileName);
// Remove a no empty directory. 
void RemoveDirectory(CString strPath);
// Copy file from SouceFileName to TargetFileName
BOOL FileCopy(CString SouceFileName,CString TargetFileName);
// Copy all contents in strSourcePath to strTargetPath.
void CopyDirectory(CString strTargetPath, CString strSourcePath);
// Get size files number and sub directory number in a given directory(strPath)
void GetSizeContentInFolder(CString strPath, int &nSize, int &nFileNumber, int &nFolderNumber);
// Get the specified directory attribute 
void GetAttribute(CString strPath,  int bAttribute[], CString strAttribute[]);

#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?