Date: Wed, 29 Dec 1999 10:19:59 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Erik Anell cc: djgpp AT delorie DOT com Subject: Re: SIGSEGV In-Reply-To: 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 Tue, 28 Dec 1999, Erik Anell wrote: > I was for starters only going to make zeros everywhere in the array > double something[300][300][2]) > then the screen just went black and stayed black... "double something[300][300][2]" requires 180,000*8 = 1,440,000 bytes of stack space. DJGPP programs by default have only 512KB of stack, so your program overflows the stack and crashes. See section 15.9 of the DJGPP FAQ list for more details, and for suggested solutions.