?? recursive.h
字號:
#ifndef _RECURSIVE_H
#define _RECURSIVE_H
extern "C" static VOID WINAPI recursive_create_dir(LPCTSTR dir)
{
CString str(dir);
CString path;
int idx = 0;
while(1)
{
idx = str.Find('\\');
if( idx == -1 )
break;
path += str.Left(idx);
if( path.Right(1) != _T(":") ) // like C:
{
CreateDirectory(path, NULL);
}
path += _T("\\");
str.Delete(0, idx+1);
}
}
#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -