Philip Newton wrote:
> Well, existing compilers tend to be slow to implement new
> standards such as C99....
>
> So for my purposes, "standard C" is "ANSI C" i.e. "K&R 2nd ed.". YMMV.

Interestingly, in this particular case, many vendors are very
*quick* to implement, often implementing before it happened. :)

Translation: The two dominant C compilers, gcc and Microsoft MSVC,
both supported // comments in C long before the C99 standard.
I suspect this is because they make both C and C++ compilers
and it is easier to share a single comment-stripper for both.

/-\ndrew
  • ... Andrew . Savige
    • ... Philip Newton
      • ... Peter Makholm
        • ... Philip Newton
      • ... Dmitry Kohmanyuk Дмитрий Кохманюк
        • ... Philip Newton
    • ... Andrew . Savige
      • ... Philip Newton

Reply via email to