From: Martin Ambuhl Newsgroups: comp.os.msdos.djgpp Subject: Re: I Need HELP QUICK, help please Date: Mon, 03 May 1999 11:05:45 -0400 Content-Transfer-Encoding: 7bit References: X-Posted-Path-Was: not-for-mail X-Accept-Language: en Content-Type: text/plain; charset=us-ascii 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