S
Samuel Barber
Since my contension that "//" comments are acceptable in contemporary
C code has generated some controversy (with some people asserting that
only "a few" compilers support it), let's have an informal poll.
The question is simple: does your C compiler (or compilers) support
"//"? Name the compiler(s), and if possible indicate when the feature
was added.
Compiler? Microsoft 32-bit
Supports "//"? Yes
When? Unknown, at least since 1995.
Compiler? SAS/C for Amiga
Supports "//"? Yes
When? Unknown, at least since 1992.
Note: We're talking about the default mode of operation. It is
understood that some compilers have a "strict ANSI" option which may
disable "//" (among other things).
Sam
C code has generated some controversy (with some people asserting that
only "a few" compilers support it), let's have an informal poll.
The question is simple: does your C compiler (or compilers) support
"//"? Name the compiler(s), and if possible indicate when the feature
was added.
Compiler? Microsoft 32-bit
Supports "//"? Yes
When? Unknown, at least since 1995.
Compiler? SAS/C for Amiga
Supports "//"? Yes
When? Unknown, at least since 1992.
Note: We're talking about the default mode of operation. It is
understood that some compilers have a "strict ANSI" option which may
disable "//" (among other things).
Sam