delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/06/28/08:32:10

Message-ID: <377760CE.3299F3AF@accord-soft.com>
Date: Mon, 28 Jun 1999 17:17:26 +0530
From: Sunil V <sunilv AT accord-soft DOT com>
Organization: Accord Software & Systems Pvt. Ltd.
X-Mailer: Mozilla 4.6 [en] (Win95; I)
X-Accept-Language: en
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Re: I HAVE A PARSE ERROR AND I CAN"T FIX IT!!!
References: <iFtd3.11225$5i7 DOT 7064 AT news DOT rdc1 DOT va DOT home DOT com>
Reply-To: djgpp AT delorie DOT com

This is a multi-part message in MIME format.
--------------6D446062E3A1EC5551EF7E52
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Remove the semicolon(;) at the end of if statement(s).
This might help u as far as syntax is concerned. As for the logic, you have to
enclose few statements in the else clause using parantheses.

Hope this will help u.
Regards Sunil

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'
>
> I've tried so many things to fix it. I'm just a newbie so this is probably
> very simple to fix. Please tell me what's wrong and if you would be so kind
> edit the source code so I can see what's wrong. Thankyou.
>
> -Greg Akselrod
>
>                          Name: 4_function_calc.cc
>    4_function_calc.cc    Type: unspecified type (application/octet-stream)
>                      Encoding: x-uuencode

--
_______________________________________________________________________

Imagination is more important than knowledge.
    - Albert Einstein
_______________________________________________________________________


--------------6D446062E3A1EC5551EF7E52
Content-Type: text/x-vcard; charset=us-ascii;
 name="sunilv.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Sunil V
Content-Disposition: attachment;
 filename="sunilv.vcf"

begin:vcard 
n:V;Sunil
tel;home:341 4609
tel;work:556 0136 / 138 / 105
x-mozilla-html:FALSE
org:Accord Software & Systems Pvt. Ltd.;Software Division
adr:;;;;;;
version:2.1
email;internet:sunilv AT accord-soft DOT com
x-mozilla-cpt:;-3328
fn:Sunil V
end:vcard

--------------6D446062E3A1EC5551EF7E52--

- Raw text -


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