Alberto Monteiro wrote:
Warren Ockrassa wrote:
I really enjoyed this, but can't share it with my colleagues, since
they wouldn't get either reference.
Sometimes it's really a pain in the ass to be a programmer and
English major working in a PR department as the graphics guy.
http://www.bobhobbs.com/files/kr_lovecraft.html
<joke critic>
The code is wrong:
void Cthulhu
(int Ia) {
if (Ia/10)
Cthulhu (IA/10);
putchar // ftagn!
(Ia % 10 + '0');
} // neblod zin!
// is a comment in C++ and, by the arcane magic known as backwards
compatibility, crept into C compilers
</joke critic>
Also, there is an undeclared variable (IA != Ia). That was the first
thing I noticed skimming it.
Beyond that, it doesn't seem like proper Kernigan and Ritchie code
because it is not formatted properly in the K&R style... It almost looks
more like GNU code.
--
--Max Battcher--
http://worldmaker.net
_______________________________________________
http://mccmedia.com/mailman/listinfo/brin-l_mccmedia.com