C Primer Plus (5th Edition)

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

Категории