Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

what does /** mean in c++

Tags:

c++

codeblocks

I was trying to add a block comment in c++, but I made a type-o and wrote /** instead of /*. I noticed that the comment inside got in bold. Does anyone know what it means?

like image 725
Jose Angel Cazares Avatar asked Feb 07 '23 10:02

Jose Angel Cazares


2 Answers

This form of comment is used by Doxygen - This software enables one to generate documentation for the source code. Please see the web site.

I guess your IDE understands this.

like image 80
Ed Heal Avatar answered Feb 16 '23 03:02

Ed Heal


In Java this comment style /** indicates that the comment is a javadoc, maybe your editor is trying to make a similar distinction. I know that at least the Eclipse IDE will exhibit this behavior.

like image 40
Boo Radley Avatar answered Feb 16 '23 03:02

Boo Radley