c++ 错误中的c2236什么意思

来源:百度知道 编辑:UC知道 时间:2024/05/13 18:30:42
c++中各种错误都有c多少多少的都是什么意思那里有所有的错误提示

Compiler Error C2236

Error Message
unexpected 'class-key' 'identifier''. Did you forget a ';'?

The identifier is already defined as a type and cannot be overridden by a user-defined type.

The following sample generates C2236:

// C2236.cpp
// compile with: /c
int class A {}; // C2236 "int class" is unexpected
int i;
class B {};

MSDN上有所有的错误提示说明