有没有办法在 visual-c++ 项目中获取文档(如 javadoc)?
我正在使用 Visual Studio 2010。
谢谢!
最佳答案
您也可以使用 VS2010 支持的 XML-Documentation 格式。 http://msdn.microsoft.com/en-us/library/ms177226%28VS.80%29.aspx
注释您的代码后,您可以使用 SandcaSTLe 创建类似 MSDN 的文档:http://sandcastle.codeplex.com/ . (这里是 SandcaSTLe 的 GUI 表示,它更容易使用:https://github.com/EWSoftware/SHFB)
我使用 AtomineerUtils 自动创建 XML-Documentation header 。这个工具会给你很多帮助。您可以在这里获得免费的基础版本:http://www.atomineerutils.com/products.php
关于c++ - Visual Studio C++ 文档生成器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2840496/