Tugger the SLUGger!SLUG Mailing List Archives

Re: [SLUG] C codes - convert decimal to binary.


Beav Petrie wrote:

To O Plameras: Yep, my (j /= 2) is (j >>=1);  and my (j % 2) is ( mask & j).
                Your "mask" example was what I was missing as you have seen.
                Some head scratching is required
                on here. I'll work this out.

You've demonstrated tremendous effort in doing an homework ( or exercise ). Any help I could assist with, please feel welcomed to post. It appears to me that you do not let others do your homework without first trying to do it your best shot.


O Plameras