C or C++?

Jerry Feldman gaf at blu.org
Sat May 28 13:51:01 EDT 2005


On Sat, 28 May 2005 12:17:26 -0400
Bob Bell <bbell at macroped.com> wrote:

> For the record, C99 standardized "//" comments in C.  Compiling with
> "-std=c99" produces no error, though "-std=c89" does produce an error.

Many C compilers allow the // comments unless you are compiling in
strict C89 mode. 
-- 
Jerry Feldman <gaf at blu.org>
Boston Linux and Unix user group
http://www.blu.org PGP key id:C5061EA9
PGP Key fingerprint:053C 73EC 3AC1 5C44 3E14 9245 FB00 3ED5 C506 1EA9
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.gnhlug.org/mailman/private/gnhlug-discuss/attachments/20050528/d37d8e1d/attachment.bin


More information about the gnhlug-discuss mailing list