1
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.
41
Name:
Anonymous
2010-08-17 5:13
How do you pronounce 'quine'?
1. keen
2. queen (faggot)
3. kwine
4. qudder
42
Name:
Anonymous
2010-08-17 5:45
kwine. no clue if that's correct.
44
Name:
Anonymous
2010-08-17 6:07
I've always pronounced it ``kine''.
46
Name:
Anonymous
2010-08-17 17:42
>>45
I actually laughed out loud. Good job,
/prog/ .
48
Name:
Anonymous
2010-08-17 18:05
>>45
This is why we don't post links on /prog/.
49
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 |______|
50
Name:
Anonymous
2010-08-17 18:18
>>49
Is that a little snake to the right of your post?
52
Name:
Anonymous
2010-08-17 20:59
>>51
Oh, it sort of reminds me of a snake period.
54
Name:
Anonymous
2010-08-18 0:47
>>53
It turned your prompt green?
55
Name:
Anonymous
2010-08-18 0:52
>>54
Why yes this is exactly what happened.
56
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.
57
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.
58
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.
59
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.
60
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.
61
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?