[comp.lang.c] Re^2: BIT Counting: C programming problem

maart@cs.vu.nl (Maarten Litmaath) (01/14/89)

jfh@rpp386.Dallas.TX.US (John F. Haugh II) writes:
\In article <2787@epimass.EPI.COM> jbuck@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@cs.vu.nl, mcvax!botter!maart