[C ++] c ++ to solve the garbage problem in Chinese output cout

Question: cout Chinese garbled output. For example, the following code will be output distortion.

cout << "成功!" << endl;

Output:

 Solution: The console can restore an earlier version, open the program -> right click -> Properties -> Use old control panel -> restart the program -> Solution!

Guess you like

Origin www.cnblogs.com/KMould/p/12038182.html