Instagram pe NASA wala video kis kisne dekha? Dekh lena - instagram.com/codewithharry Aur saare C++ videos ka source code website pe daal diya hai! - codewithharry.com/videos/cpp-tutorials-in-hindi-1
#codewithharry brother i have a problem related python programming mystr= "i live in urlabari" print(mystr.replace("i", "we")) in this code it changes all "i" in the string so how can we change only a specific word or character in python
I just watched this video for 3 times and got complete clarity about pointer to derived class as well as base class, default behaviour. Next video of virtual was so simple because of this video.
bro can you please explain me the code line number 24. why we need to point base class pointer to derived class object? without that it is not running.
5:36 In my opinion, no error would be raised since the derived class is already inheriting the base class. Thus, it may not be wrong to point a pointer object of the base class to the derived class, Ig.
congrats sir waiting for ur 5million from months ...finally its 5 ....u r really a great person in the world...the way u teach us that any cllg or any universities cant give us ......
Harry bro, your videos are still helping people to educate themselves and clear their concepts in programming👍. You are really like a magician like how your videos are too much effective so that a person with zero coding knowledge and zero skills can start from scratch and become a pro in coding 🔥and can also tech their batchmates 😁
@codewithharry- What was the use of pointing base class pointer to derived class object . Neither it was able to change the value of derived class variable neither it was able to display the value of derived class variable Was it just used here so that we could understand the concepts ? If yes, please reply with a yes there are many comments asking for the same Thankyou
Pta ni kesay log 3 din mein sari videos dekh letay hain aur unko samajh b aa jata h...maine tou pichly 3 videos 3 baar dekhy hain aur yeh video 2 baar dekha h aur sahi se practice ki h tb ja kr yeh concept clear hua h mujhy....😞
I have to watch it 4 times now I am clear about all the things happened in that program...... recommended to watch it 2 times or more.....................
sir please make series on how to build logic for beginners using (Data Structure, Algorithms, Decision making statements. Selection statements. Iteration statements. Jump statements. etc) please reply sir
you are just awesome Harry Bhai. I have learn many things from your channel. Video playlist is so awesome. and your way of explaining is mind blowing. one little request that please make tutorials on angular too.' thanks
Base class ka pointer shirf base class ki Properties ko hi Access kar skta he ........ jabki derived class ka pointer dono class ki properties ko access kar skta he .....par member function ke naam same hone par derived class ka pointer phlle derived class ke function ko run call krega
7:41 error logically will not be thrown but the concept which I am getting confused with is that baseclass is kind of inheritating derieved class which seems a bit strange as per my understanding
In start when he said to watch the video twice... I thought he is saying that for views and then when I actually didn't understand so i tried one more time and then it actually started to understand ❤
I think u r wrong harry bhai ... 8:32 You said " Isey kehete hai Late Binding " yaha early binding ho rahi hai 15:40 u again said " ye hai run time polymorphism ", no its not, binding is static here and pointer type ko dekh kar , compiler function ko compile time me bind karega us type ke sath.... we can use virtual keyword to achieve late binding
Derived class ka object base class ke pointer ka use kr skta hai kyukii derived class usi ki child class hai isiliye child class bhi apni parent class ke pointer ka use kr skti hai
5:36 I think there will be an error, because Base Class does not contain all features of derived class, but derived class contains all features of base class 11:30 doubt cleared, we can't access unique elements of derived class using base pointer.
base class pointer can point to derived class object only if base class is inherited publicly to derived class. Remove Public and same will not happen.
thankyou bro for the informative video and for your last instruction which is "watch the video again" thankyou keep going doinig good workk god bless you
Harry, just a question, if we cannot access the methods and members of the derived class with the pointer of the base class then what is the use of pointing that pointer of the base class to the object of the derived class? I mean, we could simply made a base class pointer and our code would work perfectly fine while occupying less memory space.
Instagram pe NASA wala video kis kisne dekha? Dekh lena - instagram.com/codewithharry
Aur saare C++ videos ka source code website pe daal diya hai! - codewithharry.com/videos/cpp-tutorials-in-hindi-1
Harry Bhai java pe tutorial series banao please
Btw
Love your videos
Harry bhai php and asp.net pe videos bnao ki konsa jyda helpful h .
#codewithharry brother i have a problem related python programming
mystr= "i live in urlabari"
print(mystr.replace("i", "we"))
in this code it changes all "i" in the string so how can we change only a specific word or character in python
@@lilagadtaula7597 If you want to change :-
1). specific character then use indexing
2). Specific word then use slicing (i.e.- index range)
So Glad your back with C++ 😊😊👍🏻
I just watched this video for 3 times and got complete clarity about pointer to derived class as well as base class, default behaviour. Next video of virtual was so simple because of this video.
bro can you please explain me the code line number 24. why we need to point base class pointer to derived class object? without that it is not running.
@@sanukumar6811 bro agr aapko smj aaya tha toh please muje bta do
@@sanukumar6811 because if you don't do that the pointer won't be pointing to anything
aap bahut hardworking person ho. i like your work👍👍👍
2 minutes of silence for those college teacher's who thinks they are the only source of students to learn programming
Don't compare any UA-camr to teachers 👍
@Imperfect 👍
Hahaha
Teachers are useless nowadays and to some extent colleges also...
Exceptions are always there.
they aren't even source...
5:36 In my opinion, no error would be raised since the derived class is already inheriting the base class. Thus, it may not be wrong to point a pointer object of the base class to the derived class, Ig.
Yes brother
All the member of the base class are part of the derived class. However, the derived class can only access members that are public or protected.
Easiest topic ever
It's all about mindset and understanding..
No need to watch again
U explain it so nicely that I understood it on first go..
hai ,sachiii
congrats sir waiting for ur 5million from months ...finally its 5 ....u r really a great person in the world...the way u teach us that any cllg or any universities cant give us ......
Harry bro, your videos are still helping people to educate themselves and clear their concepts in programming👍. You are really like a magician like how your videos are too much effective so that a person with zero coding knowledge and zero skills can start from scratch and become a pro in coding 🔥and can also tech their batchmates 😁
you have cleared all my doubts about this chapter thanks for making this video
@codewithharry- What was the use of pointing base class pointer to derived class object .
Neither it was able to change the value of derived class variable neither it was able to display the value of derived class variable
Was it just used here so that we could understand the concepts ?
If yes, please reply with a yes there are many comments asking for the same
Thankyou
I recommended it, watch this video minimum two time whole concept should be cleared 👍👍👍👍👍
You are best teacher in the world sir, thankyou very much
Pta ni kesay log 3 din mein sari videos dekh letay hain aur unko samajh b aa jata h...maine tou pichly 3 videos 3 baar dekhy hain aur yeh video 2 baar dekha h aur sahi se practice ki h tb ja kr yeh concept clear hua h mujhy....😞
skill issue
I have to watch it 4 times now I am clear about all the things happened in that program......
recommended to watch it 2 times or more.....................
I've watched it 3x. Just for enhance my knowledge again & again.
3x playback speed nhi hoti yt me
@@heyya2968 mean 3 times
@@Sherwaani accha
@@Sherwaani ha thoda complicate kardiya hai isne kum waqt me explain karne ke liye
@@Sherwaani
hey buddy , what does biding means here ??
Thank you very much sir for that much hard work for us ,you are the best
. I hope you will keep uploading videos on c++ until the course end.😊😊😊
5:41 No because the datatypes are different pointer is made to store adress of baseclass objects
thank you harry sir for explaining the concept so well
Bro I'm big fan of you. And watching you web development series. I want that please make ecommerce websites just using html & css. Thanks
👍🏻Dobara dekhi video Harry bhai,
Aur zyada smajh aayi .
Pehle pointers sunke hi dimag phat jata tha lekin aap se padhne baad pointer banne laga thanks yrr is course ke liye🙏🙏
video ko 2nd time watch krne ma full smjh agaya '
\
sir please make series on how to build logic for beginners using (Data Structure, Algorithms, Decision making statements.
Selection statements.
Iteration statements. Jump statements. etc)
please reply sir
Harry bhai Name of variable are choose in this video see to difficult to understand but concept clear thank you
It is advice don't take serious...
5:35 error will be there I think because maybe it will also inherit the pointer to base class.
AAP sachme mahan ho harry bhaiya
Harry bhai mujhe aapke sare tutorial best lgte hai please aap aise video bnate rhom hum aapko support krte hai.
Kota Factory : Jeetu Bhai
UA-cam : Harry Bhai.
Yes. I said that.
harry bhai these all are good thanks for giving complete c++ course
you are just awesome Harry Bhai. I have learn many things from your channel. Video playlist is so awesome. and your way of explaining is mind blowing.
one little request that please make tutorials on angular too.'
thanks
Base class ka pointer shirf base class ki Properties ko hi Access kar skta he ........
jabki derived class ka pointer dono class ki properties ko access kar skta he .....par member function ke naam same hone par derived class ka pointer phlle derived class ke function ko run call krega
7:41 error logically will not be thrown but the concept which I am getting confused with is that baseclass is kind of inheritating derieved class which seems a bit strange as per my understanding
7:31 program run karega 😁 harry Bhai ❤️
11:29 most important line in this video
i think at 7:37 program should not run because bhai int main me upr vale koi bhi function ko call nhi kiya gya shyd
Sir one kind request , please try to visualize us by showing animation that how pointer is being pointed or allocation of memory ,etc.
Love your Work Harry Bhai!❤️😅Waiting for you to reach 1M Milestone!
hlo herry bhai yor are great bro thanks for lerning c++
In start when he said to watch the video twice... I thought he is saying that for views and then when I actually didn't understand so i tried one more time and then it actually started to understand ❤
Since from starting to the playlist ,Finally I shift from1.5X speed to Normal speed in this video.
I watched 3 times and now 101 percent clear
I think u r wrong harry bhai ... 8:32 You said " Isey kehete hai Late Binding " yaha early binding ho rahi hai
15:40 u again said " ye hai run time polymorphism ", no its not, binding is static here and pointer type ko dekh kar , compiler function ko compile time me bind karega us type ke sath.... we can use virtual keyword to achieve late binding
Yes it is early binding
# I will definitely watch this video again
5:35
No
i love the way of your teaching
thank you
Great teacher
Thanks Harry Sir for this helpful video
aaj maine ye video 2nd time dekhi aur is baar aur bhi ache se samjh aa gyi
After watching poly times, finally completed understood the main concept of the video.
You are great coder in you tube.
5:40 no is my answer harry sir
Harry, Please zoom the code please
Harry bhai...your videos are awesome....plzz never stop making such amazing videos
harry bhai you are a saviour
really we need to see this video twice to understand properly
East or west, harry is the best !
Thanks Harry Bhaiya
yes it will run
Derived class ka object base class ke pointer ka use kr skta hai kyukii derived class usi ki child class hai isiliye child class bhi apni parent class ke pointer ka use kr skti hai
I wish i could like these videos more than thousand times...🥺❤️🔥
5:36 I think there will be an error, because Base Class does not contain all features of derived class, but derived class contains all features of base class
11:30 doubt cleared, we can't access unique elements of derived class using base pointer.
Thank You, Sir !
Mast hai Bhai !!!
Very Good video💖💖💖
17:17
yes it will show an error.
Sir, Please Make A Full Playlist Of Java Programming For Absulate Beginners Plz Sir🙏🙏
Amazing content sir...your videos are really heplful
Please tell can we point to a base class using a derived class pointer...?
Harry sir.
You have not told us all about operator overloading.
please give a detailed video on it.
Watch starting videos
base class pointer can point to derived class object only if base class is inherited publicly to derived class. Remove Public and same will not happen.
Other's - click on subscribe button
Harry sir - Ganta dabaye 🤣🤣
5:35 Yes
8:45
Great explanation!!
harry bhai please make videos for data structure and algorithm in C++.
thankyou bro for the informative video and for your last instruction which is
"watch the video again"
thankyou keep going doinig good workk
god bless you
5:35 yes
10:49
Harry bhai aapke videos bhot helpful hote hain. Please php and asp.net ke liye video bnao ki konsa jyda helpful h.
You are best sir
Harry, just a question, if we cannot access the methods and members of the derived class with the pointer of the base class then what is the use of pointing that pointer of the base class to the object of the derived class? I mean, we could simply made a base class pointer and our code would work perfectly fine while occupying less memory space.
same Qs of mine. What's the use of pointing to derived class then?
5:40 Yes it will throw an erroy
5:48 yes it will throw error
easy thanks to harry sir.
7:35 yes
Video starts at 3:00
5:35 Yes I think it should give error.
Love u bhai my inspiration
I hope this gonna work at 7:30 because there is no syntax error , no object creation error so In my opinion it is gonna work
after watching for 2nd time this video is completely understandable now
5:38 yes i think
No
I'm stuck on this video man!!! whenever i watch it, at the end Harry bro says it to watch it again😂😂 so i can't proceed to the next video. XD
5.41 yes
No It Wont Throw Error Because It Is Inherited from Base Class Both Pointers Are Interchangable According to me~
7:30
Compiler Will Not Throw Any Error
Harry bhaiyya big fan❤
Nice explanation
Bhaiya operator overloading bhi krvado
5:44
Na
mujhe ek baar mey hi samaj agaya