简体   繁体   English

如何将Visual Studio 2008 Express Edition配置为c89 / c90 / c99?

[英]How can I configure Visual Studio 2008 Express Edition to c89/c90/c99?

由于标准问题,我收到许多编译器错误。

As far as I know Visual C++ does not have options to conform to particular standards. 据我所知,Visual C ++没有符合特定标准的选项。 Rather it's on a sort of fuzzy, sliding scale, each version introducing some more support for current and future standards. 相反,它是一种模糊不定的规模,每个版本都为当前和将来的标准提供了更多支持。

Last year, Microsoft wrote "Currently, there are no plans to implement C99 support in VS2010." 去年, 微软写道: “目前,尚无计划在VS2010中实现C99支持。”

However, the C++ tag you've placed on your question is perhaps not totally irrelevant: C++ provides most of the functionality that you have in C99, plus much more. 但是,您在问题上加上的C ++标记可能并不完全无关:C ++提供了C99中具有的大多数功能,以及更多功能。 Not stack based variable length arrays, though. 但是,不是基于堆栈的可变长度数组。 But it's not something you'd miss. 但这不是您会想念的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM