vs2013 C + + code in Chinese causes compilation errors

Source: Internet
Author: User

The simple thing to do is, first, the Advanced save option, file, menu bar, select Utf-8 Unsigned,

Then, if it is found in the comment statement in Chinese, you can let the comment statement and the following lines in the middle of the empty line,

If the code is useful in Chinese, then in the Chinese language at the end of an English character ".", so that the length of the whole Chinese characters is recognized.

Of course, the above is only a trickery approach, the formal approach must be written in Chinese in the configuration file, the program directly to the configuration to take the required Chinese. It can also be counted as a multi-language package for the project after the solution, if the project requires multiple languages.

vs2013 C + + code in Chinese causes compilation errors

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.