[Click] How to pass one uint16 number to its binary number

Eddie Kohler kohler at cs.ucla.edu
Wed Sep 17 20:27:06 EDT 2008


Dear Sendoa Vaz,

Your question has made me cry.

Through my tears, I encourage you to learn C.
http://www.cprogramming.com/tutorial/bitwise_operators.html

Thanks for writing,
Eddie


sendoa vaz wrote:
> Hello everybody,
> 
> Anyone knows how to separate one number in bits so I can't process every bit
> separately?
> What I want do to is to receive one uint16 number and process its first
> three bits
> 
> Thanks
> 
> Sendoa
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click


More information about the click mailing list