SLUG Mailing List Archives
Re: [SLUG] Help Me - C codes
- To: malkin@xxxxxxxxxxxxxxxx
- Subject: Re: [SLUG] Help Me - C codes
- From: Matthew Hannigan <mlh@xxxxxxxxxx>
- Date: Mon, 28 Nov 2005 12:00:59 +1100
- Cc: slug@xxxxxxxxxxx
- User-agent: Mutt/1.3.28i
On Mon, Nov 28, 2005 at 05:53:24AM +1100, Tess Snider wrote:
> On 11/27/05, Crossfire <xfire@xxxxxxxx> wrote:
> > This is a case of recursion.
> Crossfire (and others) gave you good answers. Now I'm going to give
> [ .. ]
I'm surprised that no-one has mentioned that to
understand recursion, first you have to understand
Seriously, saying that this is recursion is not
explanatory, it's just a label. You almost may as
well say it's an example of flimperginitty.
I think the best way to figure out what is
happening is paste the entire text of the function
factorial at the place where it's called, with
the literal value that's being passed.
Then do it again.
1. but stop sometime :-)