Path: utzoo!attcan!uunet!tut.cis.ohio-state.edu!purdue!haven!adm!smoke!gwyn From: gwyn@smoke.brl.mil (Doug Gwyn) Newsgroups: comp.std.c Subject: Re: comment style Message-ID: <14839@smoke.brl.mil> Date: 13 Jan 91 02:45:07 GMT References: <10852@darkstar.ucsc.edu> <1991Jan11.155326.3125@resam.dk> <550@taumet.com> Organization: U.S. Army Ballistic Research Laboratory, APG, MD. Lines: 12 In article <550@taumet.com> steve@taumet.com (Stephen Clamage) writes: >/* > foo(bar); // for foo-ish systems > fee(fie); // for foo-ish or fee-sh systems >*/ >The two line can be commented out with the /* */ even though they contain >//-style comments. By the way, when I include commented usage examples in my C source code I use //-comments much as in the above example, because /*...*/ comments do not nest and within /*...*/ comments //-comments do not break anything whether the C compiler supports //-comments or not.