Operator Overloading
C++ allows you to define functions for operators, this is called operator overloading. Now why would you need to do that? Well, consider the Circle class we defined earlier. Let’s say I needed to compare two circles to see which one was larger, normally I’d write something like: The problem is, C++ has know way…