Exploring Visual Studio's Support for C and C Standards
Visual Studio users eagerly anticipate the integration of modern C and C features into their favorite development environment. With the advent of C99 and C 11, developers are curious about the availability of these advancements within Visual Studio.
MS Support and User Feedback
Microsoft has publicly acknowledged user requests for C99 features. However, the overwhelming demand from Visual C users has steered the team towards prioritizing C -0x implementations instead. As a result, only select popular C99 features, such as variadic macros and long long, have been included.
Workarounds for Modern C Features
Despite this limited support, developers seeking to utilize modern C features have identified workarounds. Intel's C compiler, which integrates with Visual Studio, provides support for C99 code and employs similar flags to gcc, easing code portability.
Alternative Development Environments
Alternative approaches, such as shifting to Intel CC or gcc in conjunction with Eclipse, offer enhanced portability and align better with cross-platform development practices.
Limited Visual Studio Integration
Microsoft's focus on C -0x and user feedback has restricted the integration of modern C and C standards into Visual Studio. However, workarounds and alternative development environments provide solutions for developers eager to leverage these advancements.
The above is the detailed content of How Well Does Visual Studio Support Modern C and C Standards?. For more information, please follow other related articles on the PHP Chinese website!