Hi! I think there is a little misunderstanding here. :-) The / (division) operator in C gives you the quotient if you operate on integers, and the % (modulus) operator gives you the remainder. Example (pseudo, not C): 7 / 2 = 3 7 % 2 = 1 Let's check it: 2 * 3 + 1 = 7 Hope this helps! -- When in doubt, use brute force. Adam Hoka <ahoka%NetBSD.org@localhost> Adam Hoka <ahoka%MirBSD.de@localhost> Adam Hoka <adam.hoka%gmail.com@localhost>
Attachment:
pgpbIBlnaDxEb.pgp
Description: PGP signature