3,882
社区成员
发帖
与我相关
我的任务
分享
Compiler Error C2019
Visual Studio .NET 2003 Other Versions Visual Studio 2010 Visual Studio 2008 Visual Studio 2005
expected preprocessor directive, found 'character'
The character followed a # sign but it is not the first letter of a preprocessor directive. The following sample generates C2019:
Copy// C2019.cpp
#!define TRUE 1 // C2019, remove the ! to resolve the error
int main() {
}