Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.programming > #988
| From | scott@slp53.sl.home (Scott Lurndal) |
|---|---|
| Subject | Re: indent: convert to C-style comments |
| Newsgroups | comp.programming, comp.unix.programmer |
| References | <j8ut1o$psd$1@speranza.aioe.org> <9hhhbcF62fU1@mid.individual.net> |
| Organization | |
| Organization | UseNetServer - www.usenetserver.com |
| Message-ID | <lFUsq.37947$Oy6.7159@news.usenetserver.com> (permalink) |
| Date | 2011-11-04 16:46 +0000 |
Cross-posted to 2 groups.
Ian Collins <ian-news@hotmail.com> writes: >On 11/ 4/11 09:20 AM, Mark wrote: >> Hello, >> >> I've read through 'man indent' but have not found if it allows to enforce >> C-style comments. Am I missing any option using which would convert C++ >> comments in to C-style? > >Since 1999, C++ comments are C comments! > More correctly, C++ comments were added to the 1999 C standard. Earlier C compilers (C89 and precedessors) likely do not support C++ comments. A stand-alone pre-processor pass can be used with such compilers if necessary. scott
Back to comp.programming | Previous | Next — Previous in thread | Next in thread | Find similar
indent: convert to C-style comments "Mark" <mark_cruzNOTFORSPAM@hotmail.com> - 2011-11-03 16:20 -0400
Re: indent: convert to C-style comments Ian Collins <ian-news@hotmail.com> - 2011-11-04 20:08 +1300
Re: indent: convert to C-style comments scott@slp53.sl.home (Scott Lurndal) - 2011-11-04 16:46 +0000
Re: indent: convert to C-style comments "Mark" <mark_cruzNOTFORSPAM@hotmail.com> - 2011-11-05 16:00 -0500
Re: indent: convert to C-style comments Ian Collins <ian-news@hotmail.com> - 2011-11-06 09:05 +1300
Re: indent: convert to C-style comments "Mark" <mark_cruzNOTFORSPAM@hotmail.com> - 2011-11-05 16:12 -0500
Re: indent: convert to C-style comments Thad Smith <ThadSmith@acm.org> - 2011-11-06 18:54 -0600
Re: indent: convert to C-style comments jt@toerring.de (Jens Thoms Toerring) - 2011-11-09 14:29 +0000
Re: indent: convert to C-style comments John Gordon <gordon@panix.com> - 2011-11-09 17:07 +0000
Re: indent: convert to C-style comments jt@toerring.de (Jens Thoms Toerring) - 2011-11-09 18:36 +0000
Re: indent: convert to C-style comments John Gordon <gordon@panix.com> - 2011-11-10 20:08 +0000
Re: indent: convert to C-style comments Doug McIntyre <merlyn@geeks.org> - 2011-11-10 20:21 +0000
Re: indent: convert to C-style comments jt@toerring.de (Jens Thoms Toerring) - 2011-11-10 21:04 +0000
Re: indent: convert to C-style comments Thad Smith <ThadSmith@acm.org> - 2011-11-10 20:47 -0700
csiph-web