您的位置:首页 > 其它

解决std::ofstream操作中文路径下文件的问题

2011-03-29 15:42 323 查看
filePath = 文件绝对路径

std::locale loc = std::locale::global(std::locale(""));
std::ostream* logFile = new std::ofstream(filePath)
std::locale::global(std::locale(loc ));
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐