Say I have the following code (in C++, but that's probably not important to the question):
int main() {
....random code....
/*This is a comment*/
....random code....
return 0;
}
In eclipse, when I want to comment out the entire code by putting /* and */ before and after the code, the comment is cut short by the */ at the end of the "This is a comment" on line 3, so the rest of the code is left uncommented.
/* //<--overall comment starts here
int main() {
....random code....
/*This is a comment*/ //<--overall comment ends here
....random code....
return 0;
}
*/ //<--overall comment SHOULD end here
Anyone know a way of getting around this problem, or do I just have to deal with it or use // comments...?