Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to write Program comments with doxygen

2025-01-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

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.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report