Re^2: BIT Counting: C programming problem

Maarten Litmaath maart at cs.vu.nl
Sat Jan 14 20:19:08 AEST 1989


jfh at rpp386.Dallas.TX.US (John F. Haugh II) writes:
\In article <2787 at epimass.EPI.COM> jbuck at epimass.EPI.COM (Joe Buck) writes:
\> 	num &= num-1;
\>	count += 1;

\That wasn't what he wrote, he wrote

\	num &= num - 1 , count += 1;
\		       ^-- oops.

\You got it correct, he didn't.

Really?
-- 
Lee Harvey Oswald was a patsy.        |Maarten Litmaath @ VU Amsterdam:
                       Or a superman. |maart at cs.vu.nl, mcvax!botter!maart



More information about the Comp.lang.c mailing list