UNARY OPERATOR OVERLOADING IN C++ ( UNARY OPERATOR OVERLOADING EXPLAINED) - 27
Vložit
- čas přidán 10. 02. 2017
- UNARY OPERATOR OVERLOADING
In this video we will learn about Unary Operator Overloading in C++.
We will fist see what are unary operators?
Why we use unary operator overloading?
A program is explained to clear all doubts about Unary
Operator Overloading.
Mail:Anipriguy@gmail.com
Music:
Ukulele by BENSOUND www.bensound.com/royalty-free-...
Creative Commons - Attribution 3.0 Unported- CC BY 3.0
creativecommons.org/licenses/b...
Music provided by Audio Library • Video
------------------------------------------------------------------------------------------------
Suggested Videos
Function Overloading (FUNCTION IN C++ - PART 4) :- • Function Overloading (...
Void or Generic Pointer in c++ :- • Void or Generic Pointe...
Variables and Data Types in C++ :- • Variables and Data Typ...
Data Type Range in C++ :- • Data Type Range in C++...
Comments in C++:- • Comments in C++ -7
Inline Function - FUNCTION IN C++ (PART - 3) :- • Inline Function - FUNC...
Function Overloading (FUNCTION IN C++ - PART 4)
• Function Overloading (...
Class and Objects(part-3)[VISIBILITY MODES IN C++] :- • Class and Objects(part...
Class and Objects[Most Important Video] Part-5 (Complex Number Program)
• Class and Objects[Most...
STATIC FUNCTIONS IN C++ :- • STATIC FUNCTIONS IN C+...
CONSTRUCTOR IN C++ ( SYNTAX AND PROGRAM AND ALL POSSIBLE ERRORS)
• CONSTRUCTOR IN C++ ( S...
STATIC VARIABLE OR STATIC DATA MEMBER IN C++ :- • STATIC VARIABLE OR STA...
Constructor Overloading in C++- 32 :- • Constructor Overloadin...
best videos of youtube that can clear concepts of c++
Thanks a lot Paridhi :-)
This is one of the best comment I had ever received
Keep on watching and don't forget to help me by sharing my Channel and Videos
OMG THANK YOU FOR YOUR VIDEOS!!!!!!!! THIS IS EXACTLY WHAT I NEED IN MY LIFE!!!
i ended up smiling like that kitten at the end of the video. thank u so much. very well explained
SUPERB PRESENTATION, GREAT WORK !!!!!!! THANK YO SO MUCH
love your style ....!! what an idea sir ji ....!! thank u sir or ma'am who ever u r i don't i was just looking for operator overloading ... i found your video... this video deserves 15,431 likes(because the video has 15,431 views)....
Hmmm Correctly said :-)
u are the best teacher i have ever seen.
These videos are a God send to me. At the eleventh hour. On the day before my exam. Keep up the good work 😊
Good work. You are brilliant!
It's really easy to understand books after getting concept from your video-thank you
wonderfull man .....thanks for doing this for us ......do continue more for us ...i shall be very thankful to you for this act of kindness
Great explanation! Thank you very much!
Programming is fun if it is done your way!
I think u be d best of all who teaches coding!
Thank you for the amazing exolaination!
I never thought an animated video can help teach me a concept better than someone speed coding on a compiler opened in from of me. I stand corrected. 👍
Your vedio deserve not just like dude..... Love you❤🤟 man
This is very helpful and concept clear in mind 👌👌👌
thank you so much it helps me a lot. compare to the thing on the common website ur video makes it pretty easy to understand.
I appreciate what you are doing bro. Keep it up.
Every concept is clearly explained 😍😍
You explain real cool by animation.. loved it
Dam you got the best videos to make others understnad concept
I was reading this topic for 3 hours to understand unfortunately I confused but by watching this 8minutes i am enough satisfied with what I watched thank you dear 💕
Bro manna pare ga aap ko..
Really awesome
Who can DISLIKE this awesome Video???!!!!!
woww very nice this lecture see no need join any choching centre thanks sir
a literal life saver my mind brighted
😇
Really wonderful way to teach
While(1)
{Concept + background music = awesome }
Thanks for making such a useful channel
Job well done👏
Thank you yr. Please upload all videos of every topic. Please🙏🙇. Because you clear every concept nd your explanation us awsome😍
2× saved time and the video was great 😊
Best yt channel for programming tutorial
Thankqq sir
Thank u so much Pankaj
Have you seen Codearchery.com teaser?
czcams.com/video/cqLdlBaohLU/video.html
Did you like it ?
The Best!!!!
thanku so much sir...its easy to understand
Great❤
creative work
awesome
Thank you so much
Just perfect
Great video sir. One of my favourite youtube channel. Its an best way to clear concepts.....Tysm....😊😊
Thank u so much Ankit , loved your comment
I hope You'll like to Help this channel by sharing it with your friends
Keep on watching and Keep on Learning Cool stuff :-)
Brilliant
love and respect
love it
thank you boss
In the example code, better to rename the getdata() to setdata(). Great video overall.
best youtube chanel ever
Thanks samer
Have you seen Codearchery.com teaser?
czcams.com/video/cqLdlBaohLU/video.html
Did you like it ?
so nice
well explained...thank you....
Thanks :-)
no mouth filling just brilliant
Thank you sir
thanks alot
Really very helpful.....well explained.
Thanks d :-)
Thanks for watching this video and for appreciating My Work
thnq u very much ....u were d best ...
Thanks a lot Harsha
Don't forget to share
Great job broher.keep it up
and i want to know how do we add values of objects and put into another object
Great job sir..!!!
Thanks Jeel for Watching My Videos and for Appreciating My Work
I hope you'll like to help me jeel by sharing my channel and videos with your friends and on social media
Keep on Watching and Thanks for ur support :-)
One of the best CZcams channel 🙂👏🙏
Thanks a lot bm sowmya for such a great comment.
Keep on Watching and Share this channel with your friends too :-)
If you or any of your friends got stuck somewhere while learning , I am available at Aniproguy@gmail.com or you can Comment on any of my video :-)
Sir,
Please include programming video also.
Hey.
You explained it very well, I liked it.
But I have a request.
Please zoom out and show all the content (All those writings) you explained in the video.
So we could read that and shall be able to overview what things you explained in the video.
Please Sir.
🙂
If you are watching for exam as I am doing now... Like me 😀
only critic is that typically accessor and mutator class member functions are called getters and setters respectively. There is ambiguity in declaring member functions getData (which acts a setter/mutator function in your video) and member function display (which acts as a getter/accessor function in your video). I was able to understand this, but may be difficult for other people.
W👑
i love it.. thank you for such a nice vedio
Good job sir
Thanks Vandana :-)
Please make video for type conversion
you called that function "getdata" but in my class that would be a void setdata function. get data would need to return it. Set data sets the value
sir, why we should used default constructor in this overloading ?? when i avoid default constructor compiler shows error
great sir you are very skill full and i appreciate your teaching skill...Dear sir you are from which country??
Why do you need to move the overloading into the global space? I was able to put both the display() function AND the - operator overload into the class itself, and they worked as expected. Is there something I'm missing?
Can we define Void Getdata outside???? By using scope resolution :: ????
Is using operator overloading possible in the program you made in tutorial no. 23 (the one with complex no.)?
In this "-obj1" in the main function, what does it do? How does it work?
You actually did the program for binary operator overloading....put the title accordingly....
Very Helpful , Thanks a Lot (
why did we use void with the opertor function and we didnt use the class type
i have a doubt, why do we need to specially study this -operator overloading when we can do this task using simple function??
i used operator+ in place of operator- and it is running the same way so what's the difference??
what is the class memeber access operator?
good .................
please upload more
Thanks suman , Plz share this with your friends too.
Yeah I am gonna upload more , If u get stuck anywhere just comment or mail me :-)
Sure.
Thank you Learn Programming In Animated Way.
how -obj2 function works.? can u explain in detail.
Nice video...encourages me to study more...
- is a binary operator. How come is it used in this program then?
Do you have a STL and Templet videos as a tutorial if yes please send alink i will watch sir
supper.sir I need io streams class in c++
why "-obj1" only call operator overloading function? why don't "obj1" can call it.
I get the concept...but still it gets 10 times more difficult when class with pointers come in and sudenly instead of dealing with 30-50 lines u have 200 to work with. Brain sweating...
I am unhappy😒😑😶😣that. I couldn't
Like this video more than once.......
Music name
Why is it just declared as "-obj1" in the main function . Shouldn't it be "obj1.operator-" ?
Same doubt
I'm a little confused is demo a constructor? Because you only made a demo class but I don't see any lines where you make a demo constructor...
Nathan X. I too have same doubt..🤔
Here demo is a class
the music is stuck in my head now
I think u should mute the music and play your own :-)
try adjusting the speed of the video. great music :D
thank you alot but whats the role of (-obj) here ? i mean what if we write (+obj) ???
He has overloaded the "-" operator (as can be seen in the code example he shows) :)
TrubbleBeast thank you.
Some titles are long and the video number gets truncated in the list. If you could, please rename so that the video numbers are near the beginning. Thanks.
Yeah , thanks for this comment . I will surely take care of that...
What's you name by the way cyborgdale..Only If you wish to tell me?
Learn Programming In Animated Way Uh... it's....Dale. (but I'm not a cyborg). When the numbers are at the end and get truncated, it makes it harder to find the next video in the sequence. Just a suggestion.
Hii Buddy thanks a lot for your suggestion :-)
I saw that you commented a lot on my video and I thank u for that
By the way my Name is Deepak Tathe
Thanks a lot again for watching my videos and liking them
sir , unary operators means ++ or - - isn't it? .. but, here you are using just - only, is it binary or unary , can you explain it.
Unary is a type. (unary means we only need one operand)
And ++,-- and - are unary operators.
thank you
Got same doubt
I feel sorry for those who watched this video and didn't click like
please upload more and more such vedios
Hi Tanveer , Thanks a lot for Commenting on my videos and Yeah... I'll try to upload more videos as soon as possible.
Till then enjoy the Learning Process and keep on learning.
so easily understandable. I want upstream class in c++
so easily understandable. I want upstream class in c++
so easily understandable. I want upstream class in c++
so easily understandable. I want upstream class in c++
How is - operator called as -obj1?...for me it sud hv been obj1.-();
As we called obj1.display();
supper.sir I need io streams class in c++
Thanks kalpana for Watching my Videos.
I'll upload videos on input and output stream in C++ :-)