setlocale(LC_ALL,"Chinese-simplified"); 转载于:https://www.cnblogs.com/longcheng2012/archive/2012/11/01/2749201.html