delorie.com/archives/browse.cgi | search |
Date: | Sun, 19 Dec 1999 09:54:45 +0200 (IST) |
From: | Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> |
X-Sender: | eliz AT is |
To: | Alex <alexxwaag AT prodigy DOT net> |
cc: | djgpp AT delorie DOT com |
Subject: | Re: Memory problem, (I think) |
In-Reply-To: | <83ci0u$84lc$1@newssvr03-int.news.prodigy.com> |
Message-ID: | <Pine.SUN.3.91.991219095427.27944S-100000@is> |
MIME-Version: | 1.0 |
Reply-To: | djgpp AT delorie DOT com |
X-Mailing-List: | djgpp AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
On Thu, 16 Dec 1999, Alex wrote: > #include <conio.h> > int main() > { > char thing[10000][400] > getch(); > } > > Can anyone tell me why??? You are asking for 4MB of stack space. DJGPP programs by default only have 512KB, that's why the program crashes. See section 15.9 of the FAQ for more details, including instructions for enlarging the stack size.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |