wchart

hi I am getting 30 errors when entering this code into code blocks, and the utf is having to be changed, what is utf ? why is this happening ? as always many many thanks.

wchar_t 你快樂;

你快樂 = 546;

cout << 你快樂 << endl;


A valid identifier can only contain Latin alphabet letters, Arabic numerals, or underscores, and can't start with a numeral.
"你快樂" is therefore not a valid identifier.
你好

the full form of utf is Unicode Transformation Format
Topic archived. No new replies allowed.