在Visual Studio 08中悬停鼠标时显示功能信息
Function information display when hovering mouse in Visual Studio 08
我只是想知道哪一种是我必须在函数中编写注释的格式,以便在将鼠标悬停在函数上时显示它们。
类似的东西
void myfunct(int a; char b, float c);
This function just messes with the variables with no objective
but to show people from stack overflow what I mean.
Inputs-> a: does nothing
b: neither this one
c: nope
因此,当我在一个大项目中使用这些函数时,我不需要去寻找那个特定的函数是什么,或者那个变量的含义是什么。
如果你想到像C#或VB这样显示参数和函数描述的东西,那么MSVC中没有这样的东西,但是Microsoft有一个特殊的代码注释格式,如下所示,可用于生成帮助:
/// <summary>
/// summary of variable, function, class or any thing else
/// </summary>
/// <remarks>
/// detailed description of object
/// </remarks>
/// <param name="a">description of a</param>
/// <param name="b">description of b</param>
/// <param name="c">description of c</param>
/// <returns>describe return value of function</returns>
编译代码时,它将生成可用于生成帮助文档的 XML 文档。
相关文章:
- 链表中的显示功能无法正常工作
- OpenGL Glut显示功能在Mojave上显示黑屏
- 为什么我的显示功能会终止程序?
- 需要帮助操作员过载,这样我才能显示功能
- 氧气显示功能简要概述
- 我的显示功能有问题
- 休息后显示功能
- 由于显示功能而引起的非法间接误差
- 体系结构x86_64的未定义符号-头文件中的显示功能
- 在Visual Studio 08中悬停鼠标时显示功能信息
- 多通道垫子显示功能
- 显示功能不显示数据
- 链表C++,输出未显示在显示功能中
- 单链表显示功能分段故障
- c++ 2d array显示功能
- 优先队列的插入和显示功能
- 从而创建显示功能
- BigInt显示功能
- 显示功能不起作用
- 调试断言失败!在人脸识别打开Cv的检测和显示功能中