fstream 读写中文路径的问题

解决办法:

1、使用C语言的函数设置为中文运行环境


setlocale(LC_ALL, "");

2、使用STL函数设置为系统语言环境


std :: locale :: global(std :: locale(""));

posted on 2011-07-03 01:45  郁郁思扬  阅读(266)  评论(0编辑  收藏  举报

导航