View Full Version : What is the meaning of /** comments?
10-01-2011, 05:30 AM
I've never come across anything explaining this before. The only difference between /** and /* comments, from what I've seen, is that a)/** seems to be popular for things such as the copyright information displayed at the beginning of prebuilt codes and b)/** comments are blue in Notepad++ while /* comments are green.
10-01-2011, 05:57 AM
Anything after /* is a comment. So if you see /** then the second asterisk is part of the comment. How people comment their code is personal preference although many people and companies develop or adopt coding standards that dictate how to write code to include how to comment the code.
Now the fact that you see /** often is likely due to people making their code Doxygen compliant. Doxygen is a tool that can autogenerate documentation about your code but your comment blocks must conform to their guidelines.
10-01-2011, 06:11 AM
Ah, very interesting (somewhat). Thank you.
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.