- bool sysop::FileExist(CString fileName)
- {
- CFile file;
- CFileStatus status;
- if(file.GetStatus(fileName,status))
- return true;
- else
- return false;
- }
- //该片段来自于http://www.codesnippet.cn/detail/240520133565.html
来源: http://www.codesnippet.cn/detail/240520133565.html