cryowizard: (Default)
[personal profile] cryowizard
This is the most fucked up piece of code I have ever seen. And it actually works!

Fascinating, in a way.

http://en.wikipedia.org/wiki/International_Obfuscated_C_Code_Contest

All ye C/C++ gurus feel free to check it out. We pasted the code from the URL into a blank C++ project, renamed the source as .C and it compiled, and we were able to place a breakpoint inside that circle, as the picture suggests.



It does give the value of Pi as 0.250 but the URL suggests that a bigger circle gives better results ;)
This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

Profile

cryowizard: (Default)
cryowizard

June 2020

S M T W T F S
 123456
78910111213
14 151617181920
21222324252627
282930    

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Mar. 29th, 2026 07:41 pm
Powered by Dreamwidth Studios