Advanced and Custom Operators
When I started learning how to program computers, one of the first things I learned was how to use operators. These include basic operators like assignment and arithmetic operators, which were covered in Chapter 3, Learning about Variables, Constants, Strings, and Operators. It wasn't until much later, when I learned how to program in the C language, that I learned about advanced operators such as bitwise operators. While the advanced operators are not as popular as the basic operators, they can be very powerful when used correctly. Advanced operators are especially useful if you are planning on writing applications that use low-level C-based libraries.
In this chapter, you will learn:
- How to use bitwise operators
- What overflow operators are for
- How to write operator methods
- How to create your own custom operator
In Chapter 3, Learning about Variables, Constants, Strings, and Operators, we looked at the most...