Home > Back-end >  Chinese garbled
Chinese garbled

Time:10-27


#include
#include
Int main (void)
{
Printf (" white lotus Lu Guimeng (tang dynasty) \ 蘤 don't covered more colourful deceit, the flower end up in the jade pool, hate He Renjiao \ heartless have? Monring winds qing to abort \ n ");

system("pause");
return 0;
}


Write a Chinese garbled don't know how to solve

CodePudding user response:

Get the \ in what to do, it is to escape character
It is said in the tail of a line in the editor in the input data, a new line to the following way to
Printf (" white lotus Lu Guimeng (tang dynasty) \
蘤 many don't brilliant deceit, the flower end up in the jade pool, \
Relentless hate He Renjiao have? Monring winds qing to abort \ n ");
If the branch, according to the code is such
Printf (" white lotus Lu Guimeng (tang dynasty) \ n \
蘤 many don't brilliant deceit, the flower end up in the jade pool, \ n \
Relentless hate He Renjiao have? Monring winds qing to abort \ n ");

CodePudding user response:

Problem has been solve
Compilation is utf-8 CMD is GBK code win10 to put language in front of the check
  • Related