From: "Amin Kharchi" Newsgroups: comp.os.msdos.djgpp Subject: Only Errors... :-( Lines: 41 X-Newsreader: Microsoft Outlook Express 4.72.3110.5 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Message-ID: Date: Wed, 4 Aug 1999 20:48:21 +0200 NNTP-Posting-Host: 195.252.131.182 X-Complaints-To: newsmaster AT tli DOT de X-Trace: news.tli.de 933792906 195.252.131.182 (Wed, 04 Aug 1999 20:55:06 MET DST) NNTP-Posting-Date: Wed, 04 Aug 1999 20:55:06 MET DST Organization: Talkline Internet Division http://www.tli.de To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hello! I need help: I have coded a CPP-File witch was compiled yesterday without errors. But today I wanted to compile it again... (RHIDE, DJGPP and Allegro-Lib) and now there are errors I don't understand and can't find! :-( First the errors: Error: parse error before '{' Error: parse error before 'public:' Error: parse error before '}' And now the code: class Player { private: int lives; public: void move(void); }; What is false??????? And there are much more errors... the compiler says that I can't call function draw_sprite() of the allegro-lib. But he don't say that he can't find it! Yesterday there not this errors. To test I have written another CPP-File with a class and a main() function... but there are no errors. Must I re-install DJGPP, RHIDE and GCC??? :-( Thanx!!! -- Amin Kharchi Wolfsburg, Germany