Source code for C ++ (vC ++)?

I have a set of 250 header files and cpp files for my project. I wanted to format the old code and create API documentation. Is there any tool that can help me?

I am thinking of using DOxygen, but I believe that he needs information in some format.

+6
c ++ api documentation
source share
2 answers

Use Doxygen to create documentation. It can do a lot from the source as it is with the right settings. It gets better with suitable comments for each document object. However, Doxygen will not help you streamline the format and format of the code.

For this task, you need a code expander. The classic instrument was indent . However, the much more versatile Uncrustify tool, which is one of several decorations included in the clearly defined Universal Indentation GUI . The latter tool supports a wide range of languages ​​and provides a user-friendly graphical interface that helps you customize the settings to suit your preferred style.

All of the above is free and open source, by the way.

Once you get started using Doxygen, you'll also want to install Graphviz tools so that it can draw call graphs and other diagrams.

+10
source share

I had a good experience working with astil (art style) ; It is easy to use and customize.

+6
source share

All Articles