Mail Archives: djgpp/1999/02/17/21:18:22
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|
- Raw text -