/**
* A test function
* @param p an integer **of your choice**
* @return 0: if zero, 1: if positive, -1: if negative
*/
int Test(int);
我希望文档提示的格式为:
您的选择
应为粗体。0:如果为零,1:如果为正,-1:如果为负
应该在 3 行中
但相反,我得到:
最佳答案
把 <b> YOUR TEXT </b>
而不是**
.
/*
* @param p an integer <b>of your choice</b>
* ^^^ ^^^^
*/
对于多行,您可以使用 <br>
或\n
在该行的末尾。您还可以利用其他 HTML 文本格式标记:
<b> - Bold
<strong> - Important
<i> - Italic
<em> - Emphasized
<small> - Small
<sub> - Subscript
<sup> - Superscript
关于c++ - 如何在netbeans中注释C函数,因此文档提示将被格式化(粗体,段落...),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38288929/