delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/05/03/11:31:46

From: Martin Ambuhl <mambuhl AT earthlink DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: I Need HELP QUICK, help please
Date: Mon, 03 May 1999 11:05:45 -0400
References: <Sh2X2.3160$%W6 DOT 6264 AT wagner DOT videotron DOT net>
X-Posted-Path-Was: not-for-mail
X-Accept-Language: en
X-ELN-Date: 3 May 1999 15:04:36 GMT
X-ELN-Insert-Date: Mon May 3 08:05:19 1999
Organization: Nocturnal Aviation
Lines: 18
Mime-Version: 1.0
NNTP-Posting-Host: 1cust87.tnt12.nyc3.da.uu.net
Message-ID: <372DBB49.F99196CC@earthlink.net>
X-Mailer: Mozilla 4.51 [en] (Win95; I)
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

OmniMeta wrote:
> 
> Can someone please tell me what is wrong in the lecture(int id)  function ?

>   while(!lecture(i)=EOF)

You mean either
    while (lecture(i) != EOF)
or 
    while (!(lectur(i) == EOF))

You need to turn on a few diagnostics. Use at least -W and -Wall.



-- 
Martin Ambuhl (mambuhl AT earthlink DOT net)
Note: mambuhl AT tiac DOT net will soon be inactive

- Raw text -


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