Home >Backend Development >C++ >Does Visual Studio Fully Support C99 and C 11 Standards?

Does Visual Studio Fully Support C99 and C 11 Standards?

DDD
DDDOriginal
2024-12-23 00:58:24256browse

Does Visual Studio Fully Support C99 and C  11 Standards?

Visual Studio: Support for Cutting-Edge C/C Standards

In the realm of programming languages, C and C continue to evolve with newfound capabilities introduced in the C99 and C 11 standards. While these enhancements tantalize developers with their potential benefits, many wonder whether Visual Studio (VS) will embrace these advancements.

Microsoft's Response

Microsoft has acknowledged user inquiries regarding C99 support in VS. However, their focus has leaned towards implementing features from the newer C -0x standard. The company has selectively incorporated popular C99 elements like variadic macros and long long.

Community Feedback

Despite Microsoft's rationale, users have expressed a strong desire for comprehensive C99 support within VS. However, anecdotal evidence suggests that Microsoft may prioritize new C# variants over expanding C/C capabilities.

Alternative Solutions and Workarounds

Although the official VS support for C99 remains limited, developers have found alternative solutions. Intel's C compiler supports C99 code and features similar flags to gcc, simplifying code porting. Additionally, Intel's compiler can seamlessly integrate with Visual Studio.

Ultimately, for those seeking full C99 support, switching to Intel CC or gcc along with a dedicated programming environment like Eclipse may provide a more robust and portable solution.

The above is the detailed content of Does Visual Studio Fully Support C99 and C 11 Standards?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn