cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1999/06/28/17:50:17

Newsgroups: comp.os.msdos.djgpp
From: manfred DOT heumann AT uni-bielefeld DOT de (Manni Heumann)
Subject: Re: PARSE ERROR!!!
References: <hlud3.11227$5i7 DOT 7109 AT news DOT rdc1 DOT va DOT home DOT com>
X-Newsreader: News Xpress 2.01
Date: Mon, 28 Jun 1999 08:27:18 GMT
NNTP-Posting-Host: psyreha1.uni-bielefeld.de
Message-ID: <377731eb.0@news.uni-bielefeld.de>
X-Trace: 28 Jun 1999 10:27:23 +0200, psyreha1.uni-bielefeld.de
Lines: 21
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

In article <hlud3.11227$5i7 DOT 7109 AT news DOT rdc1 DOT va DOT home DOT com>, "Gregory Akselrod" <compman86 AT home DOT com> wrote:
>I keep getting a parse error now when I try to compile this program in a
>different spot. My intention is to make an amature 4 function calculator. I
>want to be able to choose which function to use. Attached is my current
>source code. Tell me how to fix it. I keep getting the error:
>
>4calc.cc:67: parse error before {
>
>Could you tell me how to fix it and what a parse error is
>

You should make a habit of indentation. For every brace you open, indent the 
following code some spaces. For every brace you close, go back the same amount 
of spaces, or one tab to make it simpler.
This makes your code more readable and will make spotting these errors a lot 
easier.


--

Manni

- Raw text -


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