Date: Mon, 20 Apr 1998 09:43:33 +0300 (IDT) From: Eli Zaretskii To: "Allen's" cc: djgpp AT delorie DOT com Subject: Re: Bug caused by ____crtl_startup+138 In-Reply-To: <3537BABA.7D4D@cableol.co.uk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Fri, 17 Apr 1998, Allen's wrote: > char map [100][100],row [80][160],drawhat; [snip] > row [start][col+240] = map [y+n][x-start]; The last line references row[start][col+240], but the declaration only allows the second dimension to go up to 160. So you are probably overwriting the stack which will crash you eventually.