search

Home  >  Q&A  >  body text

c++ - VisualStudio 2015如何添加class的头注释,就是注明这个类是用来干什么的那个注释?

有什么快捷键吗?

迷茫迷茫2885 days ago695

reply all(4)I'll reply

  • 伊谢尔伦

    伊谢尔伦2017-04-17 15:34:49

    Type///

    reply
    0
  • 大家讲道理

    大家讲道理2017-04-17 15:34:49

    VC++ does not support Doxygen’s C++ annotations. Its ///automatic comments are used for Microsoft's own XML comments, which are generally used for C#. C++ generally configures macros directly in Visual Assist X.

    reply
    0
  • 高洛峰

    高洛峰2017-04-17 15:34:49

    Right click--Insert comment

    reply
    0
  • 高洛峰

    高洛峰2017-04-17 15:34:49

    In 2017, you can write comments with double slashes above the declared class.

    reply
    0
  • Cancelreply