Very well explained. Thank you. Good idea to start off from C to explain how the VFTs actually get compiled. Just used this as a quick recap on how things work behind the scenes to deepen my understanding.
there is an error @17:39, B *p=&d; p->f(25); should do B::f(p,25) since f has not been declared virtual in the class B. Thank me later and thanks from me for making me capable for finding these errors. Haha
Very well explained. Thank you. Good idea to start off from C to explain how the VFTs actually get compiled. Just used this as a quick recap on how things work behind the scenes to deepen my understanding.
Thank you very much Prof. Das, excellent explaination.
For viewers, the actual topic of VFT starts @14:26
there is an error @17:39,
B *p=&d;
p->f(25); should do B::f(p,25) since f has not been declared virtual in the class B.
Thank me later and thanks from me for making me capable for finding these errors. Haha
Yes
Hi Sir in last example class A --> Class B -- Class C A*pA and B *pB which type of the object type is containing. could you please clear it.