How many ways are there for putting comments in c++?
Is there any special cases to these?
Printable View
How many ways are there for putting comments in c++?
Is there any special cases to these?
Two that I know of:
// a commented line
/*
a commented block
*/
And you can't have a commented block (/*...*/) within another commented block.
-Patrick
"Peter Lin" <peterlin@engineer.com> wrote:
>
>How many ways are there for putting comments in c++?
>Is there any special cases to these?