作者:Gvyi_262 | 来源:互联网 | 2023-09-23 18:13
ImusingVisualStudio2012todevelopsimpleWin32Cprograms.IknowthattheVScompileronlysu
I'm using Visual Studio 2012 to develop simple Win32 C programs. I know that the VS compiler only supports C89, but I'd like to know if there is a way to override this limitation.
我正在使用Visual Studio 2012开发简单的Win32 C程序。我知道VS编译器只支持C89,但我想知道是否有办法覆盖这个限制。
In particular I'd like to declare variables anywhere in my code, instead of only at the beginning of scope blocks (as C89 requires).
特别是我想在我的代码中的任何地方声明变量,而不是仅在范围块的开头声明(如C89所要求的)。
Thanks in advance.
提前致谢。
3 个解决方案