Sender: g595160 AT pop DOT atlanta DOT com Message-Id: <316CE3F5.B8@pop.atlanta.com> Date: Thu, 11 Apr 1996 06:50:29 -0400 From: Shawn Lee Mime-Version: 1.0 To: The DJGPP Mailing List Subject: Re: typedef struct inheritance -- not possible? References: <828969663 DOT 273snx AT techm DOT pl DOT my> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Kenneth Foo wrote: > > Why can't this work under DJGPP? > It did work under Visual C++ and Turbo C++... > > > Is this valid under ANSI C (c++?) ? > What I'm trying to do is to derive a class called DERIVED from BASE. > Hopefully, this avoids those silly constructors during creation. > Inheritance isn't an ANSI C capability. It is perfectly valid in C++ and you don't need the "typedef".