Hello, and welcome to the ninth tutorial in the c++ programming series. And in this part we're going to be looking at the assignment operator. Luckily, technically or means in some OR operator for a while, it just allows you to assign a value to a variable before it's too quick load dedicated tutorial to me. So people can just quickly check out this video and see what the assignment operator says go ahead and open up a project. So let's get rid of this one, not just from the previous code. So let's run it wanting to go in I somehow printed this equals the single equal, single equal assign the value on the right side In this case, it can also be a variable here and it could be the, you could have a variable called x, if you already have it declared, and you assign the value on the right Which in this case, it would be a variable.
So get the value from x and assign to it. Literally is that simple. So if we just do one second and do x 55 and y equals 89. We can do is x equals y equals, they can do r equals x equals y. So this is pretty sad. So you can actually see the order of the assignor operator so STD colon, colon, we're going to do see a printout why STD colon CD colon cannot see something annoying copy and paste this chain that to x change it to run it so late tonight at night and it's not what's happened is obviously what hasn't changed but why had been assigned to x which had been assigned to ISO 55 to go over it and I now have 89 so yeah it's literally that simple to use the assignment operator obviously most time you won't be using equals from Finland equals nothing illegal from for years please say or equals whatever but sometimes this is for as well this is it for this tutorial.
In the next tutorial we're gonna look at the arithmetic operators if you have any question feel free to message us that support us on a system call UK the email will be in the Description. You can comment on this video or just directly messages via YouTube. Whatever feels natural to you is fine. Also the recording for source code will also be the description and as usual, thank you for watching and I hope you have a nice day.