Compiler Error C2018
unknown character 'hexnumber'
The source file contains an unexpected ASCII character, which is identified by its hex number. To resolve the error, remove the character.
The following sample generates C2018:
// C2018.cpp
int main() {
@ // C2018
}
Possible resolution:
// C2018b.cpp
int main() {
}
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for