判断文件存在与编码方式

int _ACCESS(LPCTSTR str, int mode)
{
#ifdef UNICODE
	return _waccess(str, mode);
#else
	// 	USES_CONVERSION;
	// 	LPSTR lpStr = T2A((LPCTSTR)str);
	return _access(str, mode);
#endif
}

???编码方式影响函数调用?? windows与linux不同的函数调用?平台影响

 

1.多字节 unicode 函数 

https://blog.csdn.net/u013407116/article/details/78107868

posted on 2019-09-16 08:50  lydstory  阅读(212)  评论(0)    收藏  举报

导航