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

SHOW ME YOUR QUINES

Name: Anonymous 2010-07-06 19:36


const char *s[15] = {
        "%c%c%s%c%c%c",
        "const char *s[15] = {",
        "};",
        "#include <stdio.h>",  
        "int main(void) {",
        "        int i;",
        "        puts(s[1]);",
        "        for (i=0; i<14; ++i)",
        "                printf(s[0], 9, 34, s[i], 34, 44, 10);",
        "        printf(s[0], 9, 34, s[i], 34, 0, 10);",
        "        puts(s[2]);",
        "        for (i=3; i<15; ++i)",
        "                puts(s[i]);",
        "        return 0;",
        "}"
};
#include <stdio.h>
int main(void) {
        int i;
        puts(s[1]);
        for (i=0; i<14; ++i)
                printf(s[0], 9, 34, s[i], 34, 44, 10);
        printf(s[0], 9, 34, s[i], 34, 0, 10);
        puts(s[2]);
        for (i=3; i<15; ++i)
                puts(s[i]);
        return 0;
}

the one I wrote.

Name: Anonymous 2010-08-17 5:13

How do you pronounce 'quine'?

1. keen
2. queen (faggot)
3. kwine
4. qudder

Name: Anonymous 2010-08-17 5:45

kwine. no clue if that's correct.

Name: Anonymous 2010-08-17 5:47

qudder.

Name: Anonymous 2010-08-17 6:07

I've always pronounced it ``kine''.

Name: Anonymous 2010-08-17 15:49

Name: Anonymous 2010-08-17 17:42

>>45
I actually laughed out loud. Good job, /prog/.

Name: Anonymous 2010-08-17 17:44

kuine

Name: Anonymous 2010-08-17 18:05

>>45
This is why we don't post links on /prog/.

Name: Anonymous 2010-08-17 18:11

                                                                    ______
  Sorry, if you hax my site, it only shows that you have no life   |      |
  and also no respect and using your life's energy to hax someone  |      |
  else instead of using the time to help saving world.             |      |
     reply                                                  |______|

Name: Anonymous 2010-08-17 18:18

>>49
Is that a little snake to the right of your post?

Name: Anonymous 2010-08-17 19:00

>>50
No, a signal period.

Name: Anonymous 2010-08-17 20:59

>>51
Oh, it sort of reminds me of a snake period.

Name: Anonymous 2010-08-18 0:14

>>36

Third attempt,

$ xxd quine
0000000: 7f45 4c46 0101 0100 0000 0000 0000 0000  .ELF............
0000010: 0200 0300 0100 0000 8080 0408 3400 0000  ............4...
0000020: c400 0000 0000 0000 3400 2000 0200 2800  ........4. ...(.
0000030: 0400 0300 0100 0000 0000 0000 0080 0408  ................
0000040: 0080 0408 a800 0000 a800 0000 0500 0000  ................
0000050: 0010 0000 0100 0000 a800 0000 a890 0408  ................
0000060: a890 0408 0200 0000 0200 0000 0600 0000  ................
0000070: 0010 0000 0000 0000 0000 0000 0000 0000  ................
0000080: b9a8 9004 0881 e9a8 0000 00ba 6401 0000  ............d...
0000090: b804 0000 00bb 0100 0000 cd80 b801 0000  ................
00000a0: 00bb 0000 0000 cd80 0000 002e 7368 7374  ............shst
00000b0: 7274 6162 002e 7465 7874 002e 6461 7461  rtab..text..data
00000c0: 0000 0000 0000 0000 0000 0000 0000 0000  ................
00000d0: 0000 0000 0000 0000 0000 0000 0000 0000  ................
00000e0: 0000 0000 0000 0000 0000 0000 0b00 0000  ................
00000f0: 0100 0000 0600 0000 8080 0408 8000 0000  ................
0000100: 2800 0000 0000 0000 0000 0000 1000 0000  (...............
0000110: 0000 0000 1100 0000 0100 0000 0300 0000  ................
0000120: a890 0408 a800 0000 0200 0000 0000 0000  ................
0000130: 0000 0000 0400 0000 0000 0000 0100 0000  ................
0000140: 0300 0000 0000 0000 0000 0000 aa00 0000  ................
0000150: 1700 0000 0000 0000 0000 0000 0100 0000  ................
0000160: 0000 0000                                ....
$ ./quine | diff - quine
$

Name: Anonymous 2010-08-18 0:47

>>53
It turned your prompt green?

Name: Anonymous 2010-08-18 0:52

>>54

Why yes this is exactly what happened.

Name: Anonymous 2010-08-18 5:39

I'm sorry to disappoint you ll, but cat is not a proper programming language, and neither is php.

Name: Anonymous 2010-08-18 9:16

>>56
cat is an operator that always evaluates to void. It is called primarily for its side-effects.

Name: Anonymous 2010-08-18 9:33

>>57
Depending on your definition of ``evaluates'', cat evaluates to 1 if you try to cat a file it can't open and 0 otherwise, or it evaluates to the catenated contents of the files.

Name: Anonymous 2010-08-18 10:04

>>58
The change to the external world as a result of a side effect is not the result of evaluation.

Name: Anonymous 2010-08-18 11:35

>>59
In that case, everything evaluates to frozen void, because once a function has been evaluated the resulting value is external to it.

Name: Anonymous 2010-08-18 18:00

>>60
That really doesn't follow. Regardless, why are you afraid of functions which are dependent on their own return values?

Name: Anonymous 2010-11-13 23:55

Name: Anonymous 2011-02-04 16:46

Name: Anonymous 2011-03-18 22:35

1
2
3

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