From: chris319 Newsgroups: comp.os.msdos.djgpp Subject: Re: Array Size Question Date: Sat, 11 Nov 2000 16:56:00 -0800 Organization: MindSpring Enterprises Lines: 8 Message-ID: <0iqr0tso1m4of332674o0dssc7kt41c7qo@4ax.com> References: <973951101 DOT 305564 AT shelley DOT paradise DOT net DOT nz> <0gpr0t4krbjo38b5hlpelt5ofq1bf5ec78 AT 4ax DOT com> NNTP-Posting-Host: a5.79.71.71 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Server-Date: 12 Nov 2000 00:55:15 GMT X-Newsreader: Forte Agent 1.8/32.548 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com >The problem I'm having is that I set up an array of 1024 doubles, I explicitly >initialize all elements to zero using a "for" loop, and bizarre non-zero values >are somehow creeping into array elements above 512. D'oh! I was testing the wrong condition in my "for" loop! That's what I get for writing code too close to bedtime :-) Thanks for the informative replies, though.