判断文件是否存在(C Version)

code from Ogre

const bool FileSystemLayerImpl::fileExists(const Ogre::String& path) const
{
return _access(path.c_str(), 00) == 0;
}

For more about _access, see the MSDN link here

http://msdn.microsoft.com/en-us/library/1w06ktdy(VS.80).aspx

posted on 2010-08-17 10:30  前端风云志  阅读(715)  评论(0)    收藏  举报

导航

关注我

前端风云志