Hello, a friend of mine showed me this code:
http://www2.us.ioccc.org/2004/anonymous.c
Thats an entry for the 2004 International Obfuscated C Code Contest.
This is what the program does, in the author's own words:
"This program takes a single command line argument, transcribes the argument text into Tolkien's Elvish letters, and writes the transcription to standard output as a portable graymap (PGM) file."
I've taken a look at the source code, and there's quite a few concepts unknown to me, being a rather new C programmer. I think even seasoned C programmers would have troube understanding it. But that's not the point. I'm interested in knowing how the hell does he create those glyphs in the output file. I can't even imagine how that happens, but i believe it has something to do with those insane #define statements in the source code, which look like random strings but probably has a meaning behind them.