Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!dg-rtp!dgcad!aeras!sun!peking.Eng.Sun.COM!zhang From: zhang@peking.Eng.Sun.COM (Zhanqing Zhang) Newsgroups: comp.lang.c++ Subject: an error in Ellis & Stroustrup Book Summary: error , virtual function, cirtual base class Message-ID: <143496@sun.Eng.Sun.COM> Date: 8 Oct 90 23:30:33 GMT References: Sender: news@sun.Eng.Sun.COM Distribution: comp Organization: Sun Microsystems, Mt. View, Ca. Lines: 15 I am sure that a lot of people in this group have read the latest Ellis & Stroustrup book (The annotated C++ reference manual). Has anybody noticed the error on page 235? The virtual table entries for MW & BMW, and those for BW's virtual table are wrong. The first two entries in these two tables are identical. Is this the right way to report an error in the book? Can somebody post the correct entries for the whole virtual tables? Understanding virtual base class plus virtual function is already very hard. A correct example would be very helpful. Thanks. --steven zhang