Newsgroups: comp.os.msdos.djgpp From: manfred DOT heumann AT uni-bielefeld DOT de (Manni Heumann) Subject: Re: PARSE ERROR!!! References: 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 , "Gregory Akselrod" 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