Redigera

Dela via


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() {

}