此浏览器不再受支持。
请升级到 Microsoft Edge 以使用最新的功能、安全更新和技术支持。
对于所有类型“void”非法
在包含其他类型的声明中使用了 void 类型。
void
以下示例将生成 C2120:
// C2120.cpp int main() { void int i; // C2120 int j; // OK }
此页面是否有帮助?