Thanks a lot, JohnFill, for reminding me. Will keep it in mind from now on.
And hey, I thought you could help me out at Thread205-112554. I'm just asking for a hint as to what's possibly wrong, maybe u can help. Please . Bye.
Ankan.
Hey John,
I almost forgot, your:
" /* by the way num<<1 is much faster than num/2 */"
should be
" /* by the way num>>1 is much faster than num/2 */"
and to be on the safe side num should be declared unsigned.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.