You may have heard of the International Obfuscated C Code Contest ... there is a 1990 entry you can probably relate to.
This code primarily solves differential equations. But if you give it special parameter, -r, it reverses lines in a file. Then if you run the -r on the original source code and recompile it, it becomes a sort program. And if you sort the orignal source code and compile, it becomes a Fibonacci sequence generator. And a -r parameter on the sort program, applied to itself, gives you back the original code.
"Oh what tangled code we weave, when we Obfuscate our C!" :>
That's one of the most beautiful examples of serious obfuscation I've seen to date. Very, VERY ugly code, but extremely ingeneous don't you think?
-- Corey Murtagh The Electric Monk "Quidquid latine dictum sit, altum viditur!" _______________________________________________ Delphi mailing list [EMAIL PROTECTED] http://ns3.123.co.nz/mailman/listinfo/delphi
