mingw64最新 不支持中文文件,试了改locale没用
mingw吧
全部回复
仅看楼主
level 1
这些琥珀
楼主
#include <stdio.h>
#include <fstream>
#include <iostream>int main()
{
std::ifstream ifs;
ifs.open("./哈哈/a.txt");
if(ifs.fail())
{
printf("Open fail!\n");
}
else
{
printf("Hello World!\n");
}
return 0;
}
2018年12月18日 01点12分
1
1