Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Compiler Error C3851
Collapse the table of content
Expand the table of content

Compiler Error C3851

'char': a universal-character-name cannot designate a character in the basic character set

For characters in the range of 0x20 to 0x7f, except 0x24 and 0x40, you cannot use a universal character name.

The following samples generate C3851:

// C3851.cpp
int main()
   int \u0021 = 0;   // C3851
   int \u0024 = 0;   // OK
© 2015 Microsoft