C++ .... any free tools to build class hierarchies?

Sep 29, 2004
18,665
67
91
Sep 29, 2004
18,665
67
91
Eclipse does it through the CDT plug in, but it took me days to figure out hwo to use. I think I had to play with preferences to get it working but I don't remember which ones.
 

JasonCoder

Golden Member
Feb 23, 2005
1,893
1
81
Not sure what IDE you're using but if you're on win the vc++ toolset from about 05 on can generate class diagrams out of the box. Right click on a project and generate class diagram.
 

CU

Platinum Member
Aug 14, 2000
2,410
51
91
I assume "on win the vc++ toolset" means Microsoft Visual Studio C++. If so I don't see that when I right click on a project. I am using MSVC++ 05 Pro.
 

Crusty

Lifer
Sep 30, 2001
12,684
2
81
Originally posted by: CU
I assume "on win the vc++ toolset" means Microsoft Visual Studio C++. If so I don't see that when I right click on a project. I am using MSVC++ 05 Pro.

Do you mean Visual Studio .NET 2005? Or Visual C++ 5.0?
 

Crusty

Lifer
Sep 30, 2001
12,684
2
81
Originally posted by: CU
Not .NET. It is Microsoft Visual C++ 2005.

That's part of Visual Studio .NET, you just don't have the rest of the tools for C#, VB etc.

That's odd that it doesn't show up. I haven't actually opened and looked at the C++ IDE but in C# for both 2005 and 2008 I can right click on any file/project and select "View Class Diagram"
 

CU

Platinum Member
Aug 14, 2000
2,410
51
91
It works when I open a C# project. I guess it just doesn't work for C++.
 

stevf

Senior member
Jan 26, 2005
290
0
0
yes it is a linux app - but you can still use your header files and use the app
 

chronodekar

Senior member
Nov 2, 2008
721
1
0
There seem to be 2 questions being asked here. Let me try and answer them.

First, if you are working with Visual Sudio 2005 Professional or beyond, it supports a feature called class diagrams. You can generate whole class diagrams from your code AND vice-versa. i.e. you update the diagram, your code gets updated as well.

I just fired up VS 2005 now and I'm sorry to report that this feature seems to be available ONLY for .NET applications. i.e. it works with C# and VB.NET.

So, unfortunately this is NOT a solution for the OP's post.

Secondly, about umbrello, SOME people seem to have got it running in Windows, but the project officially does not seem to provide download links for an installer. (They DO have screen-shots about it though)

I found this from google, http://www.umlgraph.org/

Basically it's meant for Java, but if you follow the instruction at this blog,
http://www.spinellis.gr/blog/20060921/
you should be able to get it to work for your C++ code as well. It's depends on your case.

Now, a bit off topic, but since I found these links may as well post them here.

This will show you how to use the Visual Studio Class Diagramming tool with Visual C++,
http://www.developer.com/net/cplus/article.php/3702821
(Yes, it contradicts with what I mention above. But worth looking into)

This seems to be a generic application to do the same thing,
http://www.ucancode.net/Visual...rate-Tool-UML-Draw.htm

 

JasonCoder

Golden Member
Feb 23, 2005
1,893
1
81
Originally posted by: chronodekar
This will show you how to use the Visual Studio Class Diagramming tool with Visual C++,
http://www.developer.com/net/cplus/article.php/3702821
(Yes, it contradicts with what I mention above. But worth looking into)

Interesting. So the 2008 version (the actual present shipping version) will do it for C++ but not managed C++ and not bidirectional. Seems like that would work.
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |