Sign in to follow this  
baker

if you are looking through alot of code, how do you organize all the src/inc's to...

Recommended Posts

baker    158
make things easier? i am currently digging my way through a sample game, trying to understand the typical code layout. i therefore printed out all the 12 includes and 12 src files. i was wondering if there may be a program out there where i can input all the src and inc and have it put out a book or diagram that shows sort of all the relationships/definitions etc... if you are looking at alot of code, what are your first steps in reaaranging things to make things easier to understand?

Share this post


Link to post
Share on other sites
yaustar    1022
I usually check the documentation and any UML diagrams that the author has. This can be auto generated with programs such as Doxygen.

If it is just pure source, as I go through the code I would draw (on pencil and paper) the class diagrams.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this