Probably old news to many C++ experts here. But it just occurred to me that one can easily comment out a block, by uncommenting a line. All one have to do is remove one character:
Example:
[glow]/[/glow]/* Uncomment this line to comment out a block
... some test or debugging code
//*/ // End of block. Do not uncomment this line!
The offending characer to remove or add back in is highlighted.
EDIT: I forgot to add an additional // in front of the end-of-block comment text. Fixed.
EDIT #2: Or alternatively:
[glow]/[/glow]/* Uncomment this line to comment out a block
... some test or debugging code
// End of block. Do not uncomment this line! */
Of course one must not have text in the last line either. Originally I just had this:
[glow]/[/glow]/*
... some test or debugging code
//*/
But wanting to fix it a bit before posting I messed it up a bit.