Date: Sun, 19 Dec 1999 09:54:45 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Alex 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: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Thu, 16 Dec 1999, Alex wrote: > #include > 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.