C++ FAQ Celebrating Twenty-One Years of the C++ FAQ!!!
(Click here for a personal note from Marshall Cline.)
Section 40:
[40.1] How can I generate HTML documentation for my classes? Does C++ have anything similar to javadoc?

Yes. Here are a few (listed alphabetically by tool name):

  • ccdoc supports javadoc-like syntax with various extensions. It's freely copiable and customizable.
  • doc++ generates HTML or TeX. Supports javadoc-like syntax with various extensions. Open Source.
  • doxygen generates HTML, LaTeX or RTF. Supports javadoc-like syntax with various extensions. Open Source.
  • PERCEPS generates HTML, TeX, RTF, man page, plain text, and anything else you'd like (it lets you set up arbitrary output formats). It's freely copiable.

Other documentation tools are listed at www.robertnz.net/cpp_site.html.