delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/06/28/07:21:06

From: Chih Hui <wenzh AT singmail DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: I HAVE A PARSE ERROR AND I CAN"T FIX IT!!!
Date: Mon, 28 Jun 1999 18:27:39 +0800
Organization: Subscriber of Pacific Internet
Lines: 17
Message-ID: <37774E1A.BD1FE866@singmail.com>
References: <iFtd3.11225$5i7 DOT 7064 AT news DOT rdc1 DOT va DOT home DOT com>
NNTP-Posting-Host: ppp182.dyn96.pacific.net.sg
Mime-Version: 1.0
X-Mailer: Mozilla 4.03 [en] (Win95; I)
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Gregory Akselrod wrote:
> 
> I have an error and I can't seem to resolve it. Attached to this e-mail is
> the source code to my code. Every time I try to compile it I get an error:
> 
> 4_function_calc.cc:48: parse error before `else'

Change the 

  if (Wdivide == 1);

in the main() to
  
  if (Wdivide == 1)

That will solve your compilation error. Note that beside this error,
there are other errors in your code.

- Raw text -


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