Path: utzoo!attcan!uunet!world!decwrl!sdd.hp.com!zaphod.mps.ohio-state.edu!tut.cis.ohio-state.edu!snorkelwacker!ira.uka.de!smurf!nadia!ananke!kaiser From: kaiser@ananke.stgt.sub.org (Andreas Kaiser) Newsgroups: comp.lang.c++ Subject: Help needed with constructor syntax error Message-ID: <8.26F4ED28@ananke.stgt.sub.org> Date: 16 Sep 90 07:43:41 GMT Organization: Ananke, Stuttgart, FRG Lines: 23 In a message of , Shein-Fong Law (sml@beach.cis.ufl.edu ) writes: SL> I have compiler error when I tried to compile the following : SL> class B; SL> class A : public Base [.....] SL> class Base Wrong declaration order. A base class must be defined before it can be used as a base class. A class can be used in a pointer or reference declararation before it's definition, but not as variable, class member or base class. Gruss, Andreas -- :::::::::::::::::::: Internet: kaiser@ananke.stgt.sub.org :: Andreas Kaiser :: Fidonet: 2:507/18.7206 (+ 2:509/5.2512) ::::::::::::::::::::