Al-Burak wrote:
      protected: float amount;
:
   return tmp = lhs.amount % rhs.amount;
:
What am I doing wrong?

You are attempting to use the '%' operator on floats. The operator can be used only on integral types.

Gregg
_______________________________________________
Help-gplusplus mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gplusplus

Reply via email to