Hey Guys, if you want more such tech educational videos on this channel then please support me by subscribing to this channel & also share it with your friends as it helps me create more content just for you ✌
Wish I looked this up first last night before i spent 4 unsuccessful hours trying to get my code to work. Makes so much more sense now compared to the text book! Thanks for what you do!
Thank you so much bro. Please support me by sharing the videos and our channel with your friends too. Thats the biggest help and support you can provide 😇
So nice of you. Thanks bro, please do share the videos & our channel with your friends too. Thats the biggest help and support you can give back to this channel! 😇
@sumanth chakravarthi that was done just inorder to differentiate it with the prev function if u want u can also use it like this....++(int) for pre inc and ++() for post inc...that doesn't matter if u dont show difference between two functions then the compiler gets confused ...which function to call ..and hence it throws an error...so in order to avoid this he used like that..
@@02lavanyaboddepalli18 bro if we keep (int) Then in the main fuctn if we call like ++Obj; still it throw error It excepts to have obj++ instead of ++obj
Maybe you dont pay attention in class 😜😂. Kidding. Anyways thank you so much buddy. Please do share our channel with your friends too. Thats the biggest help and support you can provide 😇
Why is both pre and post increment functioning similarly when operator function is void. ?? But at the end, it is functioning alright when return type is Weight.
i guess when we are storing an object in another object we are storing and then using it so the change is on the rhs not on the lhs but when we are just incrementing an object without storing it only displays the incremented value
@@SimpleSnippetsYes, bro it's really helping me. Thanks for being so kind. By the way, I am from Pakistan. A truck full of kindness, love to you. I wish to have a very nice relationship between our countries and no problem with visiting each other countries. Keep repeating the word peace at the end of the lecture.
Hello Satish, sure I will try to cover all the topics for 11th and 12th. Also it will be very helpful if you can share the latest syllabus copy for C++ subject for class 11th and 12th so that I can check what all topics are still left and try to cover those. Please do share these videos with your friends and contacts so that even they get the knowledge 😇
Hi Satish, I have covered functions, arrays structures and many more topics in the full C++ playlist, you can check that out on my channel or here's the link - ruclips.net/video/AKNGgAXTark/видео.html Do share the videos with your friends and contacts and keep sharing the knowledge ✌✌
why you used int type of argument for postfix .....? what was the use of that argument ......? and why psotfix is not work without int type arugument......?Please sir reply...?
that was done just inorder to differentiate it with the prev function if u want u can also use it like this....++(int) for pre inc and ++() for post inc...that doesn't matter if u dont show difference between two functions then the compiler gets confused ...which function to call ..and hence it throws an error...so in order to avoid this he used like that.. @Deepak Kumar
why we didn't write program of copy constructor, nd how it work without copy constructor, since we are increasing value of kg for temp object thats fine, but without implementing copy constructor how it copy data from one obj. to another!!
+DSP DEEPAK hello, just do to the link that I've shared in the video description and download the installer file. The installation is very easy, it's basically just next next next and follow the default options. If you still have issues you can Google or RUclips it topic and I'm sure you'll get some results.
I think the problem with this is that when you call "obj2 = ++obj1", obj1 gets affected as well. Unlike when you type in "x = ++y", y does not get affected. Not sure how to get around that though.
we cannot use int because on the LHS of the = sign we have a Object of weight type so to match that, the function also should return an object of the same type. Hope you get it. :-)
Hey Guys, if you want more such tech educational videos on this channel then please support me by subscribing to this channel & also share it with your friends as it helps me create more content just for you ✌
share code in description as behind very video
Wish I looked this up first last night before i spent 4 unsuccessful hours trying to get my code to work. Makes so much more sense now compared to the text book! Thanks for what you do!
No understanding in college...full understanding in ur video !
Thanks Rahul. Glad to hear this from you and happy to help always 😇
Please keep up the support by sharing the video :-)
agreed
i have the same case
LoL same case with me
You deserve a million subscribers!!! you explained me the concepts which my college faculty could not.
this man is making us atma nirbar
2:50 AM.. U SERIOUS MAN!!! 😂🍁
Hahahaha, I'm a night owl 😂 Also my voice sounds like I have cough and cold in this video 😅
@@SimpleSnippets 😂😂
U deserve Million Subscribers💫❤
Thank you so much bro. Please support me by sharing the videos and our channel with your friends too. Thats the biggest help and support you can provide 😇
Thank u so much Sir ....I didn't had any idea about Operator Overloading but now as I've watched both videos.. I've a lot...Boht Shukriya✨
Happy to know this 😊
Ur explains is Vera level sir
Thanks,I am very confused on pre and post increment but now it is clear,thanks again
Most welcome bro 😊 I would request you to please share it with your friends too ✌️
All code are wrong
It's also worked fine if we declare return type as int instead of weight, It is right to do like that.
thank you for this great explanation with a simple and intelligible example.
You're very welcome!
Thank u so much sir I wish my university teachers would explain like u
So nice of you. Thanks bro, please do share the videos & our channel with your friends too. Thats the biggest help and support you can give back to this channel! 😇
Thank you sir for such a stunning explanation.
6 year ago , great video
Thank You Simple Snippets ❤❤
Excellent..worked for me
Thank you so much buddy 😊 really happy to hear this from you ✌️
you are the best ........masum
Thanks a lot,well explained .....👍👍👍👍 thanks for your efforts.....🔥🔥🔥🔥
Glad you liked it
you are a good teacher and keep it up the good work
you explain very well 👍👍
Thanks man 😇
Can you please tell me why ++() for pre increment &&for post increment ++(int) in overloaded function???
@sumanth chakravarthi that was done just inorder to differentiate it with the prev function
if u want u can also use it like this....++(int) for pre inc and ++() for post inc...that doesn't matter
if u dont show difference between two functions then the compiler gets confused ...which function to call ..and hence it throws an error...so in order to avoid this he used like that..
@@02lavanyaboddepalli18 bro if we keep (int)
Then in the main fuctn if we call like
++Obj; still it throw error
It excepts to have obj++ instead of ++obj
very nice and informative
bruh my professor and u sound same but somehow i understand yo video.
Maybe you dont pay attention in class 😜😂. Kidding. Anyways thank you so much buddy. Please do share our channel with your friends too. Thats the biggest help and support you can provide 😇
Thank you so much bro❤
doubts are clear
You should not be using another temp object. It can be done without using too. Hence less memory will be used.
Thank you so much sir.
you are rocking!
Thank you so much Kiran! Really happy to hear this from you 😇
simply awsm
Thank you, please do share the videos & our channel with your friends too. Thats the biggest help and support you can give back to this channel! 😇
Why is both pre and post increment functioning similarly when operator function is void. ?? But at the end, it is functioning alright when return type is Weight.
i guess when we are storing an object in another object we are storing and then using it so the change is on the rhs not on the lhs but when we are just incrementing an object without storing it only displays the incremented value
Sir, how to know that where we should keep ++ before obj and ++ after obj ?
Nice lecture
Keep watching
@@SimpleSnippetsYes, bro it's really helping me. Thanks for being so kind. By the way, I am from Pakistan. A truck full of kindness, love to you. I wish to have a very nice relationship between our countries and no problem with visiting each other countries. Keep repeating the word peace at the end of the lecture.
Thank you soo much!!
Sir....is it necessary to make parameterized constructor Weight (int x) ?
Coz my worked fine without it
Not Necessary...bcz that was not even used in this program...
Great videos.
Thank you so much buddy 😇✌️ I would request you to please share the videos with your friends too 😇✌️
Thank you sir.Thr lecture was nice
Kya Bhai ..yl...
Raat me Sona chaiihye
...
Anyways video is good for everyone ✋👊
thanks
Bro full 11 and 12 class C++course dheere dheere upload krdo
Do not miss not atleast one videos
Hello Satish, sure I will try to cover all the topics for 11th and 12th. Also it will be very helpful if you can share the latest syllabus copy for C++ subject for class 11th and 12th so that I can check what all topics are still left and try to cover those. Please do share these videos with your friends and contacts so that even they get the knowledge 😇
Bro 11 mei to aap function,Array,Structures hn
I don't know about the class 12
You plz give me ur cntact nmber..
Hi Satish, I have covered functions, arrays structures and many more topics in the full C++ playlist, you can check that out on my channel or here's the link - ruclips.net/video/AKNGgAXTark/видео.html
Do share the videos with your friends and contacts and keep sharing the knowledge ✌✌
Bauuu good
Thanks buddy ✌️😊
Please share with your friends too ✌️
Please explain operator overloading using friend function
i'll try to cover this topic soon 😇
Also nice username. Any chance there's another Dark Knight movie coming ? 😜
#justkidding
😂
Sir iam Nidhin Hari. From Kerala
Hi buddy, I'm Tanmay Sakpal from Mumbai 😊
why you used int type of argument for postfix .....? what was the use of that argument ......? and why psotfix is not work without int type arugument......?Please sir reply...?
that was done just inorder to differentiate it with the prev function
if u want u can also use it like this....++(int) for pre inc and ++() for post inc...that doesn't matter
if u dont show difference between two functions then the compiler gets confused ...which function to call ..and hence it throws an error...so in order to avoid this he used like that.. @Deepak Kumar
Can you explain binary operator overloading
why we didn't write program of copy constructor, nd how it work without copy constructor,
since we are increasing value of kg for temp object thats fine, but without implementing copy constructor how it copy data from one obj. to another!!
Sir please make more tutorials on C++ oop
How to download.. Code block..
And how to install. Plz this topic make a video
+DSP DEEPAK hello, just do to the link that I've shared in the video description and download the installer file. The installation is very easy, it's basically just next next next and follow the default options. If you still have issues you can Google or RUclips it topic and I'm sure you'll get some results.
Simple Snippets
Thank you
DSP DEEPAK
You can easily download it through chrome webstore . Installation is also easy .
I think the problem with this is that when you call "obj2 = ++obj1", obj1 gets affected as well. Unlike when you type in "x = ++y", y does not get affected.
Not sure how to get around that though.
just do kg+1 instead of ++kg
But y does increase itself
It's running even without return temp 🧐
👍👍👍👍👍
I not got from 10:30 to 11:30
we cannot use int because on the LHS of the = sign we have a Object of weight type so to match that, the function also should return an object of the same type.
Hope you get it. :-)
peace
please speak a bit slow i think most of the viewers like me are not able to follow the flow
thank you so much 💗