Written some cool source code? Upload it to Programmer's Heaven.

C++ Builder

Moderators: Lundin
Number of threads: 425
Number of posts: 1022

This Forum Only
Post New Thread

Report
How to display how the classes are related to each other graphically? Posted by hajimeml on 17 Apr 2009 at 8:34 PM
Hello.

I am a new user of Borland C++ Builder 6. I have been using C for a few years but I just started learning C++.

I was given a complex c++ program written by former lab members. My task is to understand the program and modify
it to suite my needs. I have all the source codes (.cpp and .h files). There are about 200-250 files in different folders. It seems that there are many classes and member functions. Some of the classes are inherited from the others. Moreover, there are virtual functions. It is a bit difficult to understand the relationships among the classes/functions/files. My questions are as follows:

1. What is the best way to understand the program in this case?

2. Is there a way (perhaps a free program?) that allows me to display how the classes/files related to each other graphically? Due to the complexity of the program, I need something better than the built-in class explorer.

Your help is greatly appreciated. Thanks.
Report
How to display how the classes are related to each other graphically? Posted by AsmGuru62 on 18 Apr 2009 at 5:35 AM
Try this tool:

http://www.stack.nl/~dimitri/doxygen/

Should be free.



 
Popular resources and forums for programmers on Programmersheaven.com
Assembly, Basic, C, C#, C++, Delphi, Java, JavaScript, Pascal, Perl, PHP, Python, Ruby, Visual Basic
© Copyright 2009 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Publisher: Lars Hagelin. Read the latest words from the publisher here.
Be the first to sign up for Lars Hagelin’s In-depth Outsourcing Newsletter here.
bootstrapLabs Logo A bootstrapLabs project.