Solved

Multiple Inheritance(more little but essential details)

Posted on 2002-07-18
1
206 Views
Last Modified: 2010-04-01
I'd like to have your recommendation about good source for below topics:

1. virtual base in MI
2. how much VPTRs in object d if:
(smth like this)

      Base
    /   |   \
  v/    |    \v    // v - virtual inheritance
  B1   B2    B3
   \    |    /
    \   |   /
     Derived
     
Derived d;

p.s. context of my question: I'm preparing for test in OOP course, so I want to learn method

Regards, VR_
0
Comment
Question by:VR_
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 2

Accepted Solution

by:
Serega earned 50 total points
ID: 7164142
Try to read article "Under the hood of C++" by Jan Gray.
It was sometime ago in the MSDN, but now I've found it at http://www.cs.wustl.edu/~inder/oop/Gray-article.html 

Suppose it helps.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Unlike C#, C++ doesn't have native support for sealing classes (so they cannot be sub-classed). At the cost of a virtual base class pointer it is possible to implement a pseudo sealing mechanism The trick is to virtually inherit from a base class…
C++ Properties One feature missing from standard C++ that you will find in many other Object Oriented Programming languages is something called a Property (http://www.experts-exchange.com/Programming/Languages/CPP/A_3912-Object-Properties-in-C.ht…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question