My Cryptic Program

Pages: 12
ls909 (12)
...
Last edited on
Cubbi (720)
It leaks memory
L B (2739)
It leaks memory, I mean Hello, you're not using delete OMG
Last edited on
Albatross (3449)
It leaks memory.

-Albatross
Catfish (646)
I didn't try it out... because it leaks memory.
Gaminic (1398)
The outlining makes it a lot less cryptic. I suggest obfuscating your variable names a bit more.
Wazzak (74)
I'm confused. You create a thread, post code with no comments, insulting formatting, misleading type-names, a memory leak, mixed C & C++ code, and complete with no return from main(). It just goes to show just how bad formatting can get.

(I just had to. ;) (sic)

You really didn't have to.

Wazzak
Last edited on
Gaminic (1398)
That's kind of the point, Framework.

http://www.ioccc.org/
Wazzak (74)
It print's Hello one character at a time by using type-casting, classes, and pointless expressions. What's my reward?

On a side note, your code doesn't work properly. If you change the value of anything, the code falls apart. Is that one of the rules?

Wazzak
Last edited on
Gaminic (1398)
Not saying the OP's code was a perfect example of OCC, but there are some true gems on that website.
ls909 (12)
...
Last edited on
chrisname (5253)
No sense of humour, Framework?
ls909 (12)
I'm gonna make it print 'Hello World.'
ls909 (12)
...
Last edited on
Wazzak (74)
@Chrisname: I do, but it doesn't mean I have to laugh at everything. I didn't even realise it was supposed to be funny.

Wazzak
ls909 (12)
...
Last edited on
chrisname (5253)
@OsiumFramework,
I didn't think it was funny either, I was just pointing out that you didn't realise it was a joke.

@Is909,
Try Valgrind (might be Linux-only, I'm not sure).
Gaminic (1398)
@ls909: you're going to need a lot more for IOCCC. Take a look at the winners. They do much, much more than a few odd typedefs and removing newlines.
ls909 (12)
...
Last edited on
Spiker (7)
you crazy :))))
Pages: 12