Mail Archives: djgpp/1999/06/28/17:50:17
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 -