| www.delorie.com/archives/browse.cgi | search |
| 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 <sdlee AT pop DOT atlanta DOT com> |
| Mime-Version: | 1.0 |
| To: | The DJGPP Mailing List <djgpp AT delorie DOT com> |
| Subject: | Re: typedef struct inheritance -- not possible? |
| References: | <828969663 DOT 273snx AT techm DOT pl DOT my> |
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".
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |