www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/01/22/21:00:39

Subject: Re: Need help with c!
Approved: clc AT plethora DOT net
References: <clcm-19990117-0010 AT plethora DOT net> <clcm-19990118-0001 AT plethora DOT net> <clcm-19990120-0006 AT plethora DOT net>
From: Edward Hill <edward_hill AT gec DOT nospam DOT com>
Organization: Easams, Engineering Systems
Lines: 13
Mime-Version: 1.0
Newsgroups: comp.os.msdos.djgpp,comp.lang.c.moderated
Message-ID: <clcm-19990121-0002@plethora.net>
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019