filePath = 文件绝对路径
std::locale loc = std::locale::global(std::locale(""));
std::ostream* logFile = new std::ofstream(filePath)
std::locale::global(std::locale(loc ));
filePath = 文件绝对路径
std::locale loc = std::locale::global(std::locale(""));
std::ostream* logFile = new std::ofstream(filePath)
std::locale::global(std::locale(loc ));
转载于:https://www.cnblogs.com/skydesign/archive/2011/03/29/1998893.html