📄 stdafx.cpp
字号:
// stdafx.cpp : source file that includes just the standard includes
// FTPClient.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"
bool VertifyPath(CString& lpszFileName,bool isDirCheck)
{
DWORD dwAttributes = GetFileAttributes(lpszFileName);
if (dwAttributes == 0xFFFFFFFF)
return FALSE;
if ((dwAttributes & FILE_ATTRIBUTE_DIRECTORY) == FILE_ATTRIBUTE_DIRECTORY)
{
if (isDirCheck)
return TRUE;
else
return FALSE;
}
else
{
if (!isDirCheck)
return TRUE;
else
return FALSE;
}
return false;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -