Programs you didn't write today
1
Name:
Anonymous
2010-10-02 17:12
Vimacs
Perrin number calculator
ncurses analogue clock
A program that flashes some lights on an Arduino
A program that disproves Fermat's last theorem.
What didn't you write today?
2
Name:
Anonymous
2010-10-02 17:19
Everything
3
Name:
Anonymous
2010-10-02 17:21
Vimacs
Completely unneccessary as Emacs has 2+ vi modes
4
Name:
Anonymous
2010-10-02 17:49
This comment.
5
Name:
Anonymous
2010-10-02 17:59
This post intentionally left blank
6
Name:
Anonymous
2010-10-02 18:21
the following program:
#include <stdio.h>
void a(void) {
puts("Dear Sir or Madam:\n\n");
}
int b(void) {
return printf("HAX ");
}
void c(void) {
printf("MY ");
}
void d(void) {
puts("ANUS!");
}
int main(void) {
for (a(); b(); c()) d();
return 0;
}
no, wait...
7
Name:
Anonymous
2010-10-02 18:44
main() {
void a() { printf("HAX "); }
void b() { printf("MY "); }
void c() { printf("ANUS!\n"); }
int (*d)() = main;
a(), b(), c(), d();
}
EXPERT ENTERPRISE RECURSION
8
Name:
Anonymous
2010-10-02 18:54
>>7
GCC doesn't seem to optimize the tail-call, hence the stack grows until SIGSEGV ensues.
9
Name:
Anonymous
2010-10-02 20:37
>>8
Try putting a
return on that line.
I'm not going to bother testing it.
11
Name:
Anonymous
2011-01-31 20:45
<-- check em dubz