Al-Burak wrote:
[slit]
> --- money.cpp
> jme::Money jme::operator%(jme::Money& lhs, jme::Money& rhs){
>    jme::Money tmp;
>    return tmp = lhs.amount % rhs.amount;

try fmod from <math.h>
double fmod(double x, double y);

     return tmp.amount = fmod(lhs.amount, rhs.amount);

> }
>
> I get an error message, that reads:
> Project   : Money
> Compiler  : GNU GCC Compiler (called directly)
[slit]

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

Reply via email to