It can get very complex with multiple, virtual and non-virtual inheritance.
It can get very complex with multiple, virtual and non-virtual inheritance.
All the buzzt!
CornedBee
"There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
- Flon's Law
Wow !!
appologies for not able to monitor this forum for quite for some time, didn't ever expected we would be having discussions on this too.
However i see questions about the origin of this question as well, Quite strange ....do we have to really waste our time for that?
expecting people to be generous enough to share if they know something, guess thats why such forums are made.
anyway i was asked this question when some of our freinds were discussing some concepts of c++ involving virtual functions.
Anyway if any one has some clear picture about the question then is invited to share it.
and please if you have some junk to flood here in this space then probably some crap chat machine can quench your thirst for that.
Its no intelligent to ask a question over the asked question.
Hope all of you have worked with virtual functions and virtual classes and was genuin replies from your end.
Its would have been so great of all of you if you could have atleast given the answer considering the way you use it so we could have had knowledge of different kind of implementations we were talking about all the while.
any ways hope have no offended you and if at all i have then possibly you sould be thinking a bit before answering to this.
"No-one else has reported this problem, you're either crazy or a liar" - Dogbert Technical Support
"Have you tried turning it off and on again?" - The IT Crowd
Not to mention that it's been answered:
In any existing known compiler there is ONE vtable.
--Originally Posted by Cornedbee
Mats
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.
Pure insolence. It's amazing how many general forum ettiquite guidelines you've broken in just a single post.
If you had asked what is the diameter of a ball, then you're suggesting that people should not ask whether it is a golf-ball, tennis-ball, or basket-ball etc. Fine then, the answer is 42!
My homepage
Advice: Take only as directed - If symptoms persist, please see your debugger
Linus Torvalds: "But it clearly is the only right way. The fact that everybody else does it some other way only means that they are wrong"
Those are quite rude comments.
Actually, I want to say it's you who asked a crap question. It's only fair.
Laughable!any ways hope have no offended you and if at all i have then possibly you sould be thinking a bit before answering to this.
You come here, insult everyone and hope they will be nice to you?
And I will add something else: since this forum is about portability and standard compliance, answering your question is not done easily or SHOULD not be done by us, because it's IMPLEMENTATION DEPENDANT. Meaning every compiler does it differently, so you should NOT rely on it.
Now go away. Shoo.
I wish I were the type of person who can just drop into a forum in a foreign tongue, then crudely construct a question that is has no simple answer, then scoff at those who attempted to answer the question all while pointing out the complexity of a real answer. Kudos to you, C-RaT, you have made my day by giving me a smile. As long as you exist, I know I am not the biggest jerk in the world.