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 のサポートを追加する予定はありません。