Message-Id: <3.0.6.32.19990217211757.009da570@pop.netaddress.com> X-Sender: pderbysh AT pop DOT netaddress DOT com X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.6 (32) Date: Wed, 17 Feb 1999 21:17:57 -0500 To: djgpp AT delorie DOT com From: Paul Derbyshire Subject: Re: Problem with Stack Overflow In-Reply-To: <7afon3$hgh@chronicle.concentric.net> References: <3 DOT 0 DOT 6 DOT 32 DOT 19990217154316 DOT 009c0100 AT pop DOT netaddress DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Reply-To: djgpp AT delorie DOT com At 05:00 PM 2/17/99 PST, you wrote: >Bleh bleh, I fixed the Array thing and continued to get a General Protection >Error. I changed the sizeof() to for(x=0; x<11; x++) >and continued to get the error. That's because you're still overrunning the array, by one, and trashing the stack. Try for(x=0; x<10; x++) -- .*. "Clouds are not spheres, mountains are not cones, coastlines are not -() < circles, and bark is not smooth, nor does lightning travel in a `*' straight line." ------------------------------------------------- -- B. Mandelbrot |http://surf.to/pgd.net _____________________ ____|________ Paul Derbyshire pderbysh AT usa DOT net Programmer & Humanist|ICQ: 10423848|