摘要:
问题:有时候用ifstream或ofstream打开带有中文路径的文件会失败。例如: ofstream outFile("f:\\新建文件夹\\fuck.xml",ios_base::trunc | ios_base::out | ios_base::binary); outFile<<"<xml></xml>"; outFile.close();解决方法1:使用wofstream wofstream outFile(_T("f:\\新建文件夹\\fuck.xml"),ios_base::trunc 阅读全文
posted @ 2012-04-16 18:06
likebeta
阅读(1141)
评论(0)
推荐(0)

浙公网安备 33010602011771号