3,881
社区成员
![](https://csdnimg.cn/release/cmsfe/public/img/topic.427195d5.png)
![](https://csdnimg.cn/release/cmsfe/public/img/me.40a70ab0.png)
![](https://csdnimg.cn/release/cmsfe/public/img/task.87b52881.png)
![](https://csdnimg.cn/release/cmsfe/public/img/share-circle.3e0b7822.png)
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() {
}