Re: How to decipher a large program.
- From: "Rob Thorpe" <robert.thorpe@xxxxxxxxxxxx>
- Date: 26 Jun 2006 02:23:45 -0700
Chad wrote:
I recently downloaded a program that inserts captions in .jpeg files.
However, I'm sort of at a loss on where to start to see how it
works.The program has 3 c files and 4 header files. In the header
files, the
person comments on what function is supposed to do.
The question is, how do I figure out how each of these functions
interact with each other? Do I just get
a pen/paper and start jotting down notes? I was maybe thinking of
constructing some kind of flow
diagram to see how these functions interact. Any ideas?
Starting from "main" can be useful, so can starting by debugging.
Often in a C program there is an include file with the same name as the
program which contains the most central definitions. This can also be
a good place to start.
.
- Follow-Ups:
- Re: How to decipher a large program.
- From: Chad
- Re: How to decipher a large program.
- References:
- How to decipher a large program.
- From: Chad
- How to decipher a large program.
- Prev by Date: Re: scheduler
- Next by Date: gdb and threads.
- Previous by thread: Re: How to decipher a large program.
- Next by thread: Re: How to decipher a large program.
- Index(es):
Relevant Pages
|
|