Subject: Re: Need help with c! Approved: clc AT plethora DOT net Content-Transfer-encoding: 7bit References: From: Edward Hill Organization: Easams, Engineering Systems Content-Type: text/plain; charset=us-ascii Lines: 13 Mime-Version: 1.0 Newsgroups: comp.os.msdos.djgpp,comp.lang.c.moderated Message-ID: X-Mailer: Mozilla 3.01C-GECMMTL (Win95; I; 16bit) Originator: clcm AT plethora DOT net (Comp Lang C'Moderated) Date: Thu, 21 Jan 1999 17:16:41 GMT NNTP-Posting-Host: 205.166.146.5 X-Trace: ptah.visi.com 916939001 205.166.146.5 (Thu, 21 Jan 1999 11:16:41 CDT) NNTP-Posting-Date: Thu, 21 Jan 1999 11:16:41 CDT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Mohanaraj Gopala Krishnan wrote: : Francis Glassborow wrote: : : : OK you count through from 0 to array_size : : : : : :fscanf(fptr,"%d",*(pages_done++)); [hack] [chop] from 0 to array size? Shouldn't that be from 0 to (array size -1) Ed Hill -- comp.lang.c.moderated - clcm AT plethora DOT net