Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

How to write Program comments with doxygen

Shulou Source: shulou.com Published: 2022-06-01 04:38:53 10月01日 Update

This article shows you how to use doxygen to write program comments, the content is concise and easy to understand, can definitely brighten your eyes, through the detailed introduction of this article, I hope you can get something.

Contact with doxygen starts with the lib3ds library, whose source code uses doxygen as a document comment. It's cool to use the tool directly to generate a very beautiful document. So I also began to learn to annotate with doxygen.

Quite simply, the beginning of a file writes the head of the document

/ *! File: filenamebrief: This is a file.*/

For CLA

/ /! Class Description

For functions

/ *! Functionparm parm1 description1parm parm2 description2*/

Wait, wait,

The above content is how to write program comments in doxygen. Have you learned any knowledge or skills? If you want to learn more skills or enrich your knowledge reserve, you are welcome to follow the industry information channel.

Tags: Comments documents programs content functions skills knowledge contact generation powerful clear beautiful concise concise things that is tools feelings files articles Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Docker Microsoft Redmi NVidia Shulou Information