While compiling some code I receive the following:
"error C2018: unknown character '0x40'"
I wonder how to resolve such issue?
Here is where I would begin:
Have you included any non-standard include files? If so, check those for errors.
Have you missed a semi-colon somewhere?
Have you accidently used object > data instead of object -> data anywhere in your code?
Have you copied the code from one machine (OS) to another, causing encoding issues?
Character 0x40 is '@' in ascii, iso-8859-1, utf-8 and many other encodings. It's also not part of the basic character set in C
so should not appear in your source except possibly in a character or string literal or a comment. How are you using it and what are you trying to do?
I've just got this error, but complaining about character '0x6', compiling a CPP file with Visual Studio 2010. And I got rid of it rewriting the line that was causing the error (writing the very same line above the old one, and deleting the old one).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With