0

Hello,

I need to do the following problem, but I totally don't get it.

Operators Overloading
   
   The purpose of this lab assignment is for you to write a class called Character that provides a character functionality including possible operators support.  The class must support the following operators:
   
   1. from basic operators: +, -
   2. from relation operators: <, <=, >, >=, ==, !=
   3. from increment or decrement operators: ++, --
   4. from assignment operators: =, +=, -=
   
   Make sure that the usual setter and getter functions are included.

I do not get what I'm supposed to do. I can't reach the teacher right now. Can somebody explain to me what I am supposed to do?

4
Contributors
4
Replies
5
Views
8 Years
Discussion Span
Last Post by firstPerson
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.