如何忽略多行注释符号内另一个多行注释?C语言编程 - 多行注释
说我想要把整个代码中的注释,这样我可以在我的代码
/* This is my first comment */
printf("\n This is my first print command");
/* This is my second comment */
printf("\n This is my second print command");
测试其他事情如果我做
/*
/* This is my first comment */
printf("\n This is my first print command");
/* This is my second comment */
printf("\n This is my second print command");
*/
这是创建错误。
大多数现代IDE都有一些工具可以帮助您进行块评论,只需单击一下鼠标即可。正如下面的回答评论所说,你可能不能这样做。 –
另外,这是不使用多行注释的好理由。 –