控制台程序的中文输出乱码问题,printf,wprintf与setlocale Windows平台下VS2008输出: Windows平台下MinGW输出: 当加上setlocale函数设定后, 输出分别为: 为解 ...