7

Is there such a thing as Javadoc-type documentation available for C/C++ libraries?

Michael Petrotta
  • 59,888
  • 27
  • 145
  • 179
James Raitsev
  • 92,517
  • 154
  • 335
  • 470
  • 2
    possible duplicate of [Is there a javadoc-like program for C/C++?](http://stackoverflow.com/questions/1809443/is-there-a-javadoc-like-program-for-c-c) – Jonathan Leffler Nov 02 '12 at 18:57
  • Possible duplicate of [Is there a javadoc-like program for C/C++?](https://stackoverflow.com/questions/1809443/is-there-a-javadoc-like-program-for-c-c) – John Y Aug 29 '17 at 14:11
  • 1
    Also very near duplicate (asks for C++ only, not C): https://stackoverflow.com/questions/1141228/javadoc-like-documentation-for-c – John Y Aug 29 '17 at 14:13
  • Does this answer your question? [Javadoc-like Documentation for C++](https://stackoverflow.com/questions/1141228/javadoc-like-documentation-for-c) – Marco Eckstein Jan 02 '23 at 16:46

2 Answers2

19

Yes, doxygen for documenting your code.

If you mean documentation of existing libraries :

For the STL, check out the sgi site.

For a general c/ c++ reference see here.

For a specific library, check its site.

albert
  • 8,285
  • 3
  • 19
  • 32
Tom
  • 43,810
  • 29
  • 138
  • 169
  • 2
    There are several possibilities (docbook, etc), but Doxygen has the advantage of understanding Javadoc format. If you are accustomed to Javadoc, Doxygen is probably the most natural choice. – bta Sep 05 '10 at 21:57
0

You can generate the chm book for your code by combining the doxygen with htmlhelp.exe. I use codeblocks, this has the easy wizard to produce the diagrams as well as the chmbook.

dexterous
  • 6,422
  • 12
  • 51
  • 99