CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5
  1. #1
    Join Date
    Sep 2010
    Posts
    66

    documenting your code

    hello,

    If I recall Java has a tool, I believe it's called Javadoc or something of that nature, that allows you to conveniently document your code. If I remember correctly, it generates HTML files based on what you supply in the javadoc comments describing what a function does, the required arguments, the return value, etc.

    I am wondering if there is an equivalent tool that can be used for my C++ programs when working in Visual Studio 2010. Does anyone have any suggestions?
    Last edited by ttrz; January 5th, 2011 at 09:30 PM.

  2. #2
    Join Date
    Sep 2010
    Posts
    31

    Re: documenting your code

    Did you try Google? Doxygen is probably the most popular, but there are others too.

    http://www.gamedev.net/community/for...opic_id=425419
    http://stackoverflow.com/questions/1...entation-for-c

  3. #3
    Join Date
    May 2009
    Posts
    2,413

    Re: documenting your code

    Quote Originally Posted by ttrz View Post
    Does anyone have any suggestions?
    Here's a list,

    http://en.wikipedia.org/wiki/Compari...ion_generators
    Last edited by nuzzle; January 6th, 2011 at 10:39 AM.

  4. #4
    Join Date
    Jan 2009
    Posts
    1,689

    Re: documenting your code

    Definitely DOxygen for me. It can export to PDF, HTML, LaTeX... and almost everyone understands it in the code too.

  5. #5
    Join Date
    Sep 2010
    Posts
    66

    Re: documenting your code

    Okay, thanks. I wasn't sure if a feature like this was built into VS 2010. Based on the responses, it seems that it isn't I'll take a look at DOxygen thanks.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured