Go and compile this program, Jeep Bless Binary or Dart CBB, right?
It's comeback.
Now let's execute this, not let your dog out, right?
And at the fast complex number and other real and imaginary aspect of first, you have to give that
real part.
Then you have to.
You imagine it by three.
Now I'm giving this second complex number.
What is that?
Well, part three.
Second, the imaginary part two are complex number five plus five imaginary part of the second complex
number, plus the imaginary part of that first complex number.
It will be also five three plus two five five plus five.
But what happened this plus operator, which are the meaning of adding two now, must be able to add
that complex numbers because we have changed the meaning of that plus operator in this program.
Just putting this and blessing that complex as an object, complex object, one plus complex object
with just adding that two numbers.
Now let's move to the slide, OK?
Before that, we have one more program.
We have to go to that all learning community.
Greater Unathi Operator.
It's very simple.
You anadio operator will be actually an operator with one call button or leave one argument.
So how do you get all that that C does index audio?
So we are all holding the distance.
Operator minus operator.
OK, suppose I want to negate a value given to that object.
So I have an object Part B one.
I have even two values eleven and hundred and two having another object called D2, and I have two values
minus five.
You know, suppose I want to negate the values of these objects so you never and should be a minus anyway
and then should become a minus state.
And similarly, they do should become five and minus 11.
So for that, what I am doing is I am going to create all a lot of paper.
So very simple to unite the operator class name, operator name, then operator is minus, or you will
be putting operator minus that after the operator where you can put minus, then open bracket gross
bracket give the definition.
So what happened should be minus B in just should B minus in just certain distance.
B talking just here you have the done just as the values inside that class and we are indicating that
values.
Let's see this program in action.
Nothing much to see.
Let's go.
Jeep Blast blasts United, all Nazi BP rebels, dogs slashed in or out.
Oh, great.
First objective, the feed is minus feed is minus 11 minus 10 five and minus my guess offset.
These have negated the values by minus the I'm just giving minus in front of that object.
Then what happened?
This minus was part, and it changed the value of the domain of feeding just to minus aegis.
So this is this index for all unloading it.
So that's it about the operator already.
But we have still some points left to our slide.
Let's go and see that.
So equal to and and are already all over Nordic operator.
Now I know the meaning are so, so you need not to allow that at all or all the presidents and associate
duty of operators.
However, if you want to change the rough evaluation around, this should be used.
So if you are already an operator, you know, board Masonite propaganda, machine multiplication,
addition and subtraction.
So similarly, each operator had a precedence of operation in C++ that will not be changed, right?
Operator I know there are four important operators in C++.
We may not be able to overload that Scarborough solution operator cannot be overloaded.
Dart cannot be overloaded.
Dodge Dart will not be honored and lost in Denmark.
Not not that cannot be all alone.
This is called ternary operator.
OK?
These operators cannot be.
So that's it.
Aboard the overloading in C++.
I think you have understood this topic.
Let's move on to the next let Jason building.