Fun Compo: Smallest Program that..
category: general [glöplog]
hehehe, you might be right. the older versions of WinUAE are much more stable (and sound emulation is less fuxx0red).
Not exactly on topic but you reminded me, in the dos days, if the reset button was too far away and ctrl-alt-del was too lame..
debug
a
jmp ffff:0
g
debug
a
jmp ffff:0
g
What about:
main() { *0++; }
main() { *0++; }
or on the c64:
0x22
0x22
basic:
0 gosub0
0 gosub0
I'm surprised nobody tried this one
It compile and run under any POSIX compliant system (almost everything except windows)
int main(){
for(;;)fork();
}
some operating system are protected against that soo
int main(){
for(;;){
malloc(2000);
fork();
}
}
you can also remove the for it to work on windows
or there is this version
http://www.codeproject.com/Purgatory/winexec_control.asp?df=100&forumid=4182&exp=0&select=221156
i did not try it
but the two first crash my linux box
It compile and run under any POSIX compliant system (almost everything except windows)
int main(){
for(;;)fork();
}
some operating system are protected against that soo
int main(){
for(;;){
malloc(2000);
fork();
}
}
you can also remove the for it to work on windows
or there is this version
http://www.codeproject.com/Purgatory/winexec_control.asp?df=100&forumid=4182&exp=0&select=221156
i did not try it
but the two first crash my linux box
... these are true "classics", Fenax. :)