Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 Visual Studio 2005 中,我正在尝试编译一个 .c 文件:
int i = 6; int a[i];
它不起作用,那么我的编译器遵循哪个标准?
Visual Studio 仅支持 C89/90。他们不支持 C99。因此,您不能在 Visual Studio 中使用可变长度数组。此外,Microsoft 没有计划在其 C 编译器中添加对 C99 的支持。