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 ;)

doorssite

Date: 2008-01-31 04:26 am (UTC)
From: (Anonymous)

http://deswa.narod.ru/up.html

Profile

cryowizard: (Default)
cryowizard

June 2020

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

Most Popular Tags

Page Summary

Style Credit

Expand Cut Tags

No cut tags
Page generated Sep. 30th, 2025 04:22 am
Powered by Dreamwidth Studios