stdafx.cpp
来自「1)用户界面模块负责响应用户的键盘鼠标输入设置服务器的各个参数」· C++ 代码 · 共 31 行
CPP
31 行
// 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 + =
减小字号Ctrl + -
显示快捷键?