Chapter 6: The Operators in C++ and When to Use Them
The next topic that we are able to work with is known as the operators.
These are going to be important because though they are simple, they are going to add in a lot of power to the codes that we want to use.
There are a lot of different types of operators that we are able to focus on, and it is important to learn how each one can be added to some of the codes that we want to work with.
These operators are going to be seen as a basic or simple part of the code to work with, but they are still able to add in a ton of power to some of the codes that we want to write.
These are good to know about whether we work with the C++ language or some of the other types of coding that are out there.
With any type of programming language that you want to handle, it is important that you learn the different types of operators because they will tell the program what you would like to see get done.
They are simple symbols that we are able to handle, but they can add in more power .
While there are a ton of different operators to work with, but we are going to spend our time looking at the four most common types that work well with the C++ language.
Each one is going to be responsible for helping our code to behave in a different manner.
As we go through all of this, you will be able to figure out pretty quickly how well each one works, and what all of them are able to do.
The four types of operators that we have to spend our time on in this language include the logical operators, assignment operators, arithmetic operators, and the relationship operators.
With this in mind, we need to go through and spend a little time on each of the operator types that we are able to spend our time on.
This will help us to learn more about the operators and how they are going to behave well inside of your own code.