FileExists

From Yefu's notes
Jump to: navigation, search
static inline bool FileExists(const string& filename)
{
	return GetFileAttributes(filename.c_str()) != INVALID_FILE_ATTRIBUTES; 
}