Johnny Digital Posted November 27, 2006 at 12:46 AM Report #66987 Posted November 27, 2006 at 12:46 AM boas descobri hoje este programa http://www.de.ioccc.org/2000/dhyang.c olhem para a fonte e pasmem-se 👍 dps compilem e executem e reparem q o output é programa... pode ser compilado e gera outro programa... assim por diante 😛 (4 vezes, acho) mt interessante cumps joao
Guest tsenart Posted February 21, 2007 at 05:44 PM Report #84415 Posted February 21, 2007 at 05:44 PM Big crazy sh*t!!!
skin Posted February 22, 2007 at 06:00 PM Report #84578 Posted February 22, 2007 at 06:00 PM #define/**/X char*d="X0[!4cM,!" "4cK`*!4cJc(!4cHg&!4c$j" "8f'!&~]9e)!'|+!)rAc-!*m*" ":D/!4c(b4e0!1r2e2!/t0e4!-y-c6!" "+|,c6!)f$b(h*c6!(d'b(i)d5!(b*a'`&c" ")c5!'b+`&b'c)c4!&b-_$c'd*c3!&a.h'd+" "d1!%a/g'e+e0!%b-g(d.d/!&c*h'd1d-!(d%g)" "d4d+!*l,d7d)!,h-d;c'!.b0c>d%!A`Dc$![7)35E" "!'1cA,,!2kE`*!-s@d(!(k(f//g&!)f.e5'f(!+a+)" "f%2g*!?f5f,!=f-*e/!<d6e1!9e0'f3!6f)-g5!4d*b" "+e6!0f%k)d7!+~^'c7!)z/d-+!'n%a0(d5!%c1a+/d4" "!2)c9e2!9b;e1!8b>e/! 7cAd-!5fAe+!7fBe(!" "8hBd&!:iAd$![7S,Q0!1 bF 7!1b?'_6!1c,8b4" "!2b*a,*d3!2n4f2!${4 f. '!%y4e5!&f%" "d-^-d7!4c+b)d9!4c-a 'd :!/i('`&d" ";!+l'a+d<!)l*b(d=!' m- a &d>!&d'" "`0_&c?!$dAc@!$cBc@!$ b < ^&d$`" ":!$d9_&l++^$!%f3a' n1 _ $ !&" "f/c(o/_%!(f+c)q*c %! * f &d+" "f$s&!-n,d)n(!0i- c- k) ! 3d" "/b0h*!H`7a,![7* i] 5 4 71" "[=ohr&o*t*q*`*d *v *r ; 02" "7*~=h./}tcrsth &t : r 9b" "].,b-725-.t--// #r [ < t8-" "752793? <.~;b ].t--+r / # 53" "7-r[/9~X .v90 <6/<.v;-52/={ k goh" "./}q; u vto hr `.i*$engt$ $ ,b" ";$/ =t ;v; 6 =`it.`;7=` : ,b-" "725 = / o`. .d ;b]`--[/+ 55/ }o" "`.d : - ?5 / }o`.' v/i]q - " "-[; 5 2 =` it . o;53- . " "v96 <7 / =o : d =o" "--/i ]q-- [; h. / = " "i]q--[ ;v 9h ./ < - " "52={cj u c&` i t . o ; " "?4=o:d= o-- / i ]q - " "-[;54={ cj uc& i]q - -" "[;76=i]q[;6 =vsr u.i / ={" "=),BihY_gha ,)\0 " , o [ 3217];int i, r,w,f , b ,x , p;n(){return r <X X X X X 768?d[X(143+ X r++ + *d ) % 768]:r>2659 ? 59: ( x = d [(r++-768)% X 947 + 768] ) ? x^(p?6:0):(p = 34 X X X ) ;}s(){for(x= n (); ( x^ ( p ?6:0))==32;x= n () ) ;return x ; } void/**/main X () { r = p =0;w=sprintf (X X X X X X o ,"char*d="); for ( f=1;f < * d +143;)if(33-( b=d [ f++ X ] ) ){if(b<93){if X(! p ) o [w++]=34;for X(i = 35 + (p?0:1);i<b; i++ ) o [w++]=s();o[ w++ ] =p?s():34;} else X {for(i=92; i<b; i ++)o[w++]= 32;} } else o [w++ ] =10;o [ w]=0 ; puts(o);} Our lives begin to end the day we become silent about things that matter - Martin Luther King
Warrior Posted February 22, 2007 at 11:31 PM Report #84650 Posted February 22, 2007 at 11:31 PM http://www.ioccc.org/main.html
Cypher Posted February 22, 2007 at 11:51 PM Report #84654 Posted February 22, 2007 at 11:51 PM Ya ja tinha conhecimento ... mas não deixa de ser espantoso... o site esta repleto deles... vale a pena andar a ver... esse é um dos melhores cumps...
sandro_G Posted February 26, 2007 at 02:21 PM Report #85155 Posted February 26, 2007 at 02:21 PM Dá-me 2 erros..Já tentei mudar o sprintf pa printf mas continua a dar...Alguém aconteceu mais?? ||I'm the devil25, I'm G and I'm sandro_G||
Johnny Digital Posted February 26, 2007 at 03:20 PM Author Report #85178 Posted February 26, 2007 at 03:20 PM sandro_G q compilador estás a usar? usei o gcc e não me deu problemas. tás com o vc++ ?
Kriptosgeek Posted September 10, 2007 at 09:16 PM Report #132168 Posted September 10, 2007 at 09:16 PM Podiam explicar o codigo? O resultado realmente é espantoso mas prefiro saber como é que o programador fez isto! Melhor browser game do Mundo!---> Travian Regista-te!
Triton Posted September 10, 2007 at 09:43 PM Report #132180 Posted September 10, 2007 at 09:43 PM http://en.wikipedia.org/wiki/Quine_(computing) <3 life
xbrunox Posted September 11, 2007 at 10:25 AM Report #132258 Posted September 11, 2007 at 10:25 AM Muito interessante. Persistência, persistência, persistência!!linuxfreechoice - Blog com dicas úteis.
mrentes Posted September 11, 2007 at 10:54 AM Report #132271 Posted September 11, 2007 at 10:54 AM Dá-me 2 erros..Já tentei mudar o sprintf pa printf mas continua a dar...Alguém aconteceu mais?? Essas funções (puts, sprintf) são definidas no stdio.h, por isso falta-te um #include<stdio.h> Não sei se o gcc junta este header por defeito na compilação caso não o encontre no código-fonte, mas verifica se este include está no código-fonte de qualquer maneira.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now