Comments

I l @ ve RuBoard

Comments

C++ allows comments that begin with // and end with the end of the line:

 int rank;   // rank goes from 0 (lowest) to 10 

The C90 standard doesn't allow this comment format, but many compilers do. The C9X proposal recognizes this usage.

I l @ ve RuBoard


C++ Primer Plus
C Primer Plus (5th Edition)
ISBN: 0672326965
EAN: 2147483647
Year: 2000
Pages: 314
Authors: Stephen Prata

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net