Lisp-style comments

Walter Bright bright at Data-IO.COM
Tue May 2 04:31:50 AEST 1989


In article <1338 at ns.network.com> ddb at ns.UUCP (David Dyer-Bennet) writes:
>Microsoft C 5.1 has added some sort of comment-to-end-of-line syntax,
>I believe.

It's the // to end of line. It's borrowed from C++. Do not use this feature
if you want your C code to be portable. It's not K&R C or ANSI C.

If you want these features, why not go all the way and get C++?



More information about the Comp.lang.c mailing list