Hey people, I've a challenge for whoever's up to it...
Here's the deal:
using the hex values:
AAAAAAAA
CCCCCCCC
F0F0F0F0
FF00FF00
FFFF0000
and only the bitwise operators:
~
|
&
^
create an expression that comes out to the well-known
DEADBEEF
I thought maybe we could do it like a contest if anyone's up for it...I don't have an answer yet, (I've been on it for a few hours now, think I might be going in circles...) but hopefully I will soon to check up with anyone that decides to join in
Ok, good luck!
Oh, yeah, and here's a little refresher on the operators if you need it: http://www.cs.cf.ac.uk/Dave/C/node13.html