解决std::ofstream操作中文路径下文件的问题
时间:2011-03-29 来源:游空
filePath = 文件绝对路径
std::locale loc = std::locale::global(std::locale(""));
std::ostream* logFile = new std::ofstream(filePath)
std::locale::global(std::locale(loc ));
相关阅读 更多 +