This sounds that you integer is stored in another form, so one method is to implement an structure use operator overloading to handle the case. you should provide you own algorithm of divide. one stupid way is sub if leftexpr is larger then the rightexpr and add the result by one. Please take care for the case c/0. And Good luck!
Comment