📄 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 + -