From: G DOT DegliEsposti AT ads DOT it To: loren cc: djgpp AT delorie DOT com Message-ID: Date: Wed, 22 Apr 1998 09:36:48 +0200 Subject: Re: Still trying with OOP in DJGPP Mime-Version: 1.0 Content-type: text/plain; charset=us-ascii Precedence: bulk >Uh Oh ... don't work .... again... > >class MyClass { [...] >}; > >Don't works !!! X'((( > >DJGPP gives me this error: "parse error before 'class'" or something >like this ... Well, it seems like the error occurs before "class"... post here the smallest complete program that gives you problems and also the exact steps you do to compile it (from the command line, from rhide, ...) If this was the complete source, then I have this question: was your file named with .c extension? In this case gcc tries to compile it as a C program, and class is not recognized in C, only in C++. ciao Giacomo