Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!rpi!iear.arts.rpi.edu!fargo From: fargo@iear.arts.rpi.edu (Irwin M. Fargo) Newsgroups: comp.lang.c++ Subject: Multiple Inheritance Message-ID: Date: 6 Dec 90 04:39:02 GMT Organization: Fargo HQ, Inc. Lines: 29 Nntp-Posting-Host: iear.arts.rpi.edu I just recently learned C++ and am quite confused as to whether C++ was defined to encompass multiple inheritance or not. I read through the book "An Introduction to Object Oriented Programming and C++" by Richard S. Wiener and Lewis J. Pinson. On page 125, they state that C++ allows a derived class to have only one parent (they also mention that Smalltalk allows for multiple inheritance, which confuses me more as I've been using Digitalk's Smalltalk/V 286 for some time and have seen nothing about multiple inheritance). Anyways, a friend of mine is learning C++ now so I decided to browse through his book, "C++ for C Programmers" by Ira Pohl. On pages 192-195, Mr. Pohl writes not only of C++'s ability to do multiple inheritance, but also details how to create derived classes with multiple parents! Both books have made mention of works done by Stroustrop, and I'm going to look into those as I have a very good idea that Mr. Stroustrop had quite a lot to do with the creation of C++. Anyways, what's going on here? Is multiple inheritance part of the original definition? Will it become part of the C++ standard (whenever that comes out) ? Or is this just a discrepancy due to implementation differences? A puzzled C++ novice. Thank you and happy hunting! Actually: Ethan M. Young "If Linus looked like Worf, would you Internet: fargo@iear.arts.rpi.edu try to take his blanket away?" Bitnet (??): usergac0@rpitsmts.bitnet - dorsai@pawl.rpi.edu Disclaimer: Who said what? Brought to you by Super Global Mega Corp .com