delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/08/04/23:55:15

From: "Michel Chassey" <cecile AT megacom DOT net>
Newsgroups: comp.os.msdos.djgpp
References: <e00q3.67$qv DOT 3117 AT news DOT tli DOT de> <37A8A42A DOT 7B620B6 AT snip DOT net> <OL1q3.70$qv DOT 3522 AT news DOT tli DOT de>
Subject: Re: Only Errors... :-(
Lines: 41
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2014.211
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211
Message-ID: <dt2q3.40012$Q4.132948@wagner.videotron.net>
Date: Wed, 4 Aug 1999 17:31:43 -0300
NNTP-Posting-Host: 207.253.156.72
X-Complaints-To: abuse AT videotron DOT net
X-Trace: wagner.videotron.net 933802953 207.253.156.72 (Wed, 04 Aug 1999 17:42:33 EDT)
NNTP-Posting-Date: Wed, 04 Aug 1999 17:42:33 EDT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Since this seems to be a thread for and by newbies I'll take a shot at
answering.
The first error means anything AFTER the last " } ",  " ) " or " ; ", is
considered by the compiler as being on the same line as class Player. You
might have erased a end-of-line symbol BEFORE  class Player.
Resolve the first error and the others disappear .
My humble opinion,
                                    Michel Chassey  :)

Amin Kharchi <kharchi AT gmx DOT de> a écrit dans le message :
OL1q3.70$qv DOT 3522 AT news DOT tli DOT de...
> Hello!
>
> Hyper schrieb in Nachricht <37A8A42A DOT 7B620B6 AT snip DOT net>...
> >i'm really new to programming (only did simple math programs, and stuff
> that
> >really has no point).  My best guess is this.  Since i'm new to this i
> don't
> >know, but i'd say the problem is your "class player" line.  It doesn't
> appear to
> >be a function (No () ), and it doesn't appear to be a variable.  is class
a
> >function you have made or something?  please don't flame me for my
> ignorance,
> >i'm learning so i might be wrong
>
>
> No, it's a class in C++. If you learn C you don't know it... But my
problem
> is, what did the compiler mean with "parse error before" ??? The can't
find
> in zhe sourcecode errors... and I don't know what to do.
>
> --
> Amin Kharchi
> Wolfsburg, Germany
>
>
>


- Raw text -


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