Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Write hello world

Name: Anonymous 2012-02-13 18:30

as complicated as possible and in a functional language of your choosing

Name: Anonymous 2012-02-16 11:48

>>40
You are rather, aren't you?

Name: Anonymous 2012-02-16 12:27

for(i=0;i<23737489421;i++)
rand()[rand()]=rand();
jmp rand();


There's a slim chance it will print out hello world.

Name: Anonymous 2012-02-16 14:58


int main()
{
    while (int i = rand())
    {
        cout << i;
    }
}


A million monkeys on a million keyboards.

Name: Anonymous 2012-02-16 15:13

>>43
Fixed it for you:
#include <iostream>
#include <cstdlib>
int main()
{
    while (int i = rand())
    {
        fork();
        std::cout << (char)i;
    }
}

Without forking, it'd be just one monkey. Without the cast, it'd print numbers.

Name: Anonymous 2012-02-16 15:18

[spoiler][b]/prog/[b][/spoiler]TM

Giving the world "fibs" and "hello world" programs since 2006

Name: Anonymous 2012-02-16 16:23

This was my submission last time we had the thread


#include <stdio.h>

int main() {
    int i,c=0150;
    for(i=0;i<12;i++) {
        switch(i) {
            case 2: c += 4;
            case 4:
            case 8: c += 3;
            case 0:
            case 3: break;
            case 5: c &= 176; break;
            case 6: c |= 87;  break;
            case 7:
            case 10:c -= 2;
            case 9: c -= 3;
            case 1: c -= 3; break;
            case 11: c ^= 'n'; break;
        }
        putchar(c);
    }
}

Name: Anonymous 2012-02-16 16:32

>>46
That code is non-portable, ``faggot''

Name: Anonymous 2012-02-16 16:39

>>47
PORT MY ANUS

Name: Anonymous 2012-02-16 23:48

>>46

And so, a new compression and decompression scheme was invented.

Name: >>49 2012-02-16 23:49

oh, nevermind. That switch table would be as long as the file

Name: Anonymous 2012-02-17 2:25

>>47
Well, change putc() to fwrite() and you can say it outputs ascii. It will do the same on any platform.

Name: Anonymous 2012-02-18 17:20

This needs more sscanf.

Name: Anonymous 2012-02-18 17:23

sscanf ... my ... /anus/

Name: Anonymous 2012-03-12 6:03

>>55
nice dubs bro

Name: Anonymous 2012-03-12 6:08

Hello dubs

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List