Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 737895
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T07:46:28+00:00 2026-05-14T07:46:28+00:00

I read with interest the post How universally is C99 supported ?. One of

  • 0

I read with interest the post “How universally is C99 supported ?”. One of the comments therein points that Microsoft doesn’t support C99. But the comment symbol // works with VS 2008 and this symbol is in C99. I have two questions:

  1. To what extent VS 2008 support C99?

  2. Is it ok in the same code to mix C89 and C99 syntax together? So if I write my code in C89 and then place a comment //. This means that I have mixed-coding. So what does the compiler do in such a case? Check my code first with c89 and then with C99 to accept that I use // for commenting?

  • 1 1 Answer
  • 2 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T07:46:28+00:00Added an answer on May 14, 2026 at 7:46 am

    MSVC supports very little of C99 in C mode. The few things that it does (like ‘//’ comments) are really extensions they’ve added to C90 mode that come from C++, which may happen to also be in C99. When compiling C code, MSVC treats ‘//’ comments as an extension to C90, not that you’re intermixing C90 code with C99 code.

    You’ll get ‘better’ C99 support by compiling your C files as C++ – in that way you’ll get declarations that can be interspersed with statements and variable declarations in for statements that are scoped to the for loop, for example.

    Microsoft seems to have zero interest in adding C99 support to MSVC – even as they add things from C99 to the C++ compiler mode (like stdint.h being added in VS2010) since some additional C99 things are being added to C++ in C++0x.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've read with interest the post C difference between malloc and calloc . I'm
Read Carefully The question here is not that does PHP parser processes comments or
I read the following post with interest as it is an exact replica of
I've regularly read that the framework is just too large for one developer to
I read with interest this post to StackOverflow: How to Make a Basic Finite
Read (skimmed enough to get coding) through Erlang Programming and Programming Erlang . One
I read this question's answers that explain the order of the LINQ to objects
What is a simple piece of code to read a stored number, calculate interest
I believe I read that if you wanted to use Google's App Engine, your
I read the Avoiding Memory Leaks article with interest, and am concerned about danging

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.