Please help!! I will upvote!!
4.) Operator Overloading
Operator Overloading Example. Operator overloading allows you to use operators on different types of objects. This example demonstrates the Class Length with overloaded +, -, == and < operators.
Length.h
Length.cpp
pr11-10.cpp
Copy the Length.h, Length.cpp and pr11-10.cpp to your repl
Run the program. First, Second and Third are objects of type length. The standard +, -, == operators are used and overloaded to work on the length type.