comment style

Tim Iverson iverson at ivy.uucp
Fri Dec 28 08:58:42 AEST 1990


In article <26036 at uflorida.cis.ufl.EDU> jdb at reef.cis.ufl.edu (Brian K. W. Hook) writes:
>I personally like the // commenting style.  Including it would not have been
>a major hassle for the ANSI committee, I beleive.  It is very nice and quite
>quick when it comes to commenting out only one line of code.  No going to
>end of line and adding a */...that gets annoying. [...]

Actually, you don't have to put the closing '*/' on the *end* of the line:

/*	e.g. these lines are commented out /* even if they have comments */
/*	You can also grep for "^/**/" to find where they all are.
/**/

>Brian

- Tim Iverson
  uunet!xstor!iverson



More information about the Comp.std.c mailing list