fstream中的unicode问题
#include <fstream>
using namespace std;
void main()
{
ofstream outfile( "h:\\测试.dat ");
outfile < <1 < <endl;
}
这样出来的文件名是乱码,有没有什么办法可以解决呢?
[解决办法]
什么编译器,我的咋不是乱码呢
[解决办法]
1 =/= '1 ' =/= "1 "
[解决办法]
好象说错了。
[解决办法]
那就帮顶接分!