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?

You need to create your own semi-string class, that has
the operators above overloaded.

帮你顶下!
哈哈!

帮你顶下!
哈哈!

" Helps you to go against! Ha! Ha! " ?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.