comment style
    Doug Gwyn 
    gwyn at smoke.brl.mil
       
    Sun Jan 13 13:45:07 AEST 1991
    
    
  
In article <550 at taumet.com> steve at 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.
    
    
More information about the Comp.std.c
mailing list