Please Comment, Subscribe and Click Bell🔔🔔🔔 Icon for More Updates. To learn software course from our experts please register here for online training: goo.gl/HIB0wL
sir i have change the inhirtanc to hirarcal _multiple inhiritance as the following class stu(base),calss marks(dr),calss sport(dr),calss result(dr) i got erro : result::getstu() is ambiguous how to solve this error thank u
I think this is because getstu function is present in marks class as well as sports class so compiler get confuse that from which class you want to use getstu function.. And to resolve this ambiguity you have to make an function in result class whose name is getstu and in that function give refernce of that class of which getstu function you want to use like marks::getstu() Hope you get it😃
Please Comment, Subscribe and Click Bell🔔🔔🔔 Icon for More Updates. To learn software course from our experts please register here for online training: goo.gl/HIB0wL
I only watch ur lectures.... the way u explain us through examples r superb.. 👍👍
THANKYOU FOR UPLOADING VIDEO FOR POOR CHIL [ME] WHO NOT ABLE TO PAY TUTION FEE FOR THIS SUBJECT.
I LIKE YOUR WAY OF TEACHING.......GOOD JOB
Thank you for ur wonderful classes sir💓
Thank you very much sir, this helped me a lot, thank you sir.😊
Sir type casting in c++ videos please
Thanku so much pls write all the letter in big so we can easily make notes and can take a copy from it 👍🙏
He also speaks what he writes
@@nareshgoyal1994 😀😀😀😀😀😀😀😀
you are awesome sirji💕💖
Superb.....sir.....!
Extradinory sir..
I like your videos sir
add more sessions about function overloading
sir sports also will be the part of base class . but your not specifying the public stu
Sir why we don't use void put marks and put sparks. REPLY SIR FAST
but how is the use of virtual in hybrid inheritance
sir
i have change the inhirtanc to hirarcal _multiple inhiritance as the following
class stu(base),calss marks(dr),calss sport(dr),calss result(dr)
i got erro : result::getstu() is ambiguous
how to solve this error
thank u
I think this is because getstu function is present in marks class as well as sports class so compiler get confuse that from which class you want to use getstu function.. And to resolve this ambiguity you have to make an function in result class whose name is getstu and in that function give refernce of that class of which getstu function you want to use like marks::getstu()
Hope you get it😃
Diamond problem not explained!!!
do like this and It will be your "Diamond Problem"
class sports : public stu{
------
------
------
------
};
@@shishankrawat2105 virtual* public stu{
👍
S
T
R
J