在CSDN上找到几个关于添加函数注释和注释指定行代码的宏,可以提高不少编码效率。在这里留点线索,以备将来查用。
CommentOutSelection(): This macro converts selected source code into a comment in c style.
DelCommentToCode(): This macro converts selected comment into code.
CommentFunction: comment selected function and comment it
CustomCommentOut: comment selected source code into comment in C++ style
PS:在codeproject和codeguru上也有很多功能强大的宏, 可以去发掘
http://www.codeproject.com/macro/
http://www.codeguru.com/Cpp/V-S/devstudio_macros/