[comp.lang.c++] an error in Ellis & Stroustrup Book

zhang@peking.Eng.Sun.COM (Zhanqing Zhang) (10/09/90)

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

bs@alice.att.com (Bjarne Stroustrup) (10/11/90)

Zhanqing Zhang @ Sun Microsystems, Mt. View, Ca. writes

 > 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?

 > Is this the right way to report an error in the book?

It is one way. Another is to mail me directly. We had spotted that one and it will
be fixed in the third printing. At that time we will also post a list of errata
to this newsgroup.