delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/06/14/04:53:29

Message-ID: <006e01bfd5d8$69952ee0$0500007b@brk>
From: "Johan Henriksson" <jhe AT realsoftware DOT cjb DOT net>
To: "DJGPP mailinglist" <djgpp AT delorie DOT com>
Subject: Stack vs recursive functions
Date: Wed, 14 Jun 2000 10:13:08 +0200
Organization: Real software
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id EAA08632
Reply-To: djgpp AT delorie DOT com

from: Johan Henriksson, Sweden     jhe AT realsoftware DOT cjb DOT net
                       Leadprogrammer at http://realsoftware.cjb.net
------------------------------------------------------------------------------------------------------

Hi!
I wonder how many recursive levels I can have with a function
that takes about 6 ints as parameters
and have 2 ints as local variables?
The size of the function shouldn't matter, right? Oh, and if you
could give me the size of the stack so I might calculate it myself in the
future, that would me nice as well.

TIA!

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019