Mail Archives: djgpp/1999/08/04/23:55:15
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 -