3 ms·
I can't even compile it on my mac and my C is too rusty, would you be kind enough to explain? =)
by joshguthrie 14y ago
I can't even compile it on my mac and my C is too rusty, would you be kind enough to explain? =)
- unwind 14y agoIt's perfectly possible to run this on e.g. Ideone (http://ideone.com http://ideone.com). Essentially, it's a loop that unpacks my name and prints it, letter by letter, from the constant 5128. Four bits is being used per letter, and I tried to compress the number by subtracting an offset from the ASCII codes of each letter (that's the 77). It's been ~14 years or something since I first wrote this, and I'm pretty sure I was inspired by an Obfuscated C contest entry then, too. :)
- stordoff 14y agoThere's a typo in it, which is probably why it doesn't compile (other replies have the correct version). This is the output: > stordoff@stordoffs-MacBook-Pro:~ $ gcc HN.c && ./a.out > EMIL