Images as a part of source code documentation / comments? [closed] - c++

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
My question is similar to Adding images into source code, but my environment is Visual C++. Is there some way how to add images as a part of comments and make the IDE to display them (either inline, or by clicking on them or performing some action on them)?
What I was doing until now was either to provide an URL to an external .PNG or .SVG file placed in the SVN using its URL, or by creating an ASCII art, but it somehow feels strange to me in the age of GUIs and rich documents everywhere be still limited to this. If there is no better solution, are there at least some pluings to make this more streamlined (e.g. by creating the SVN document for me and placing a link to it in the comment, or by helping me in the ASCII art drawing)?

There is a sample add in that appears to be doing this. I haven't run it.
Here's the link. Source code is available.

Related

Is there a tool to generate OCMOD files? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 1 year ago.
Improve this question
I'm starting to get into customizing OC3 for my needs, and see the benefit of putting extensions in OCMOD files.
I assume people test and debug their code by temporarily rewriting the core files, and only write the OCMODs after the extension is ready.
Given an original file and a version with a customized script or modification, is there a tool to compare them and generate the OCMOD xml automatically? (maybe based on diff)
Or extension developers do that manually?
Try this repository in github. it automatically generates install.xml :
https://github.com/ataul/ocmod_generator
There are no tools available for OCMOD.
Extension Developers do that manually.

How to view class implementation in Qt? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
I'm trying to see how a class is implemented in Qt C++, but not sure how to get there. Any short cuts? or how I can see how a class is implemented, for example. QString.
Two different ways:
Browse the sources locally
The easiest way it to install it from Qt online installer. For each version of Qt, you check the Sources component, which will automatically download it for you in your Qt folder
Pull the Git repo directly from https://code.qt.io/cgit/. You can refer to that guide to download the full source: https://wiki.qt.io/Get_the_Source
Browse online
Probably the easiest, and two places again
From Qt official repo, here again https://code.qt.io/cgit/
Or (my preference) from Woboq, as they provide great navigation tools (search, navigate to declaration, definition, uses,...) and syntax highlight: https://code.woboq.org/qt5/qtbase/src/corelib/tools/qstring.cpp.html

Is there an open source PDF printer written in C++? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I want to look at the source code of a PDF printer to see how they do the printer driver part, but so far I've only found PDF Creator which is written in VB. There are plenty of freeware PDF printers but they're not open source, and I need to look at the source code.
Here the project EmfPrinter written in C++.
I use OpenOffice to convert Word documents to PDF.
I believe the source code is available.
If you really only want the "printer driver" part then this may not be what you're looking for. But if you're interested in the PDF generation then it may very well be.

A tool to tell you what source files are needed in a C++ project? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I am porting a large, messy, 10 year old cold base in C++ from Metrowerks on OS X to XCode. There are so many files and all the other people that touched this over the years are gone. Nobody know what files are actually needed and which are just cruft.
Is there any tool that I could run and have it produce a list of what files are ACTUALLY needed?
You could run doxygen on your project and have it generate inheritance diagrams for your classes. It can also generate caller graphs to help you find dead code.
You can try searching this static code analyzer list in Wikipedia. The ones that I've seen in actions would be cppdep and Include Hierarchy Viewer, although the first one is a little rough and the latter is a Windows analyzer only for the include tree. Also that still might not give you all the info if the dependencies are not explicit.
Edit: Also, the following StackOverflow search query seems to have results that might interest you:
https://stackoverflow.com/search?q=c%2B%2B+dependency

VS: Tooltip help for doxygen-style commented functions? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I am using Visual Studio and an external library that is commented in doxygen-style. Is there any way to display doxygen documentation in the editor tooltip like DocXML?
The VS plugin Visual Assist shows doxygen comments. From what I can see, it doesn't actually process them, but it shows doxygen comments (in their raw form) nevertheless.
There's a trial at their website.
Be warned, though. I have seen very few C++ programmers who tried it for a few days and were not begging their managers to buy it for them afterwards.
Not that I am aware of (though I'd love to hear if there is a solution, as doxygen format is much more readable than XML).
A "workaround" I can suggest is that my AtomineerUtils add-in can bulk-convert Doxygen format comments into DocXML, which is then picked up and used for Intellisense tooltips. (And Doxygen is able to read DocXml, so you keep most of that functionality too). Currently the conversion is a fairly simple one, but I'm working on some improvements at the moment that should make it much more flexible with respect to input comment formats.