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

/prog/ can't count to 10

Name: Anonymous 2009-05-07 0:32

Prove me wrong.

Name: Anonymous 2009-05-07 0:47

#include <stdio.h>
int main() {
    int i;
    for(i=0; i<10; i++)
        fprintf(stdout,"%d",i+1);
    return 0;
}

Name: Anonymous 2009-05-07 0:53

>>2
YOU PROVED HIM RIGHT!!

Name: Anonymous 2009-05-07 0:59

#include <stdio.h>
int main() {
    int i;
    for(i=0; i<=10; i++)            //fix'd!
        fprintf(stdout,"%d",i);
    return 0;
}

Name: Anonymous 2009-05-07 0:59

10.times {|i| puts "#{i+1} chunky bacon#{'s' unless 0 == i}"}

Ruby is the most elegant language for counting. Not for anything else unfortunately.

Name: Anonymous 2009-05-07 1:02

>>4
ADD A SPACE OR YOUR JUST PRINTING A BIG NUMBER!

Name: Anonymous 2009-05-07 1:17

>>3
actually >>2 is correct
lern2debugnub

Name: Anonymous 2009-05-07 1:20

>>6
I FUCKED YOU'RE TOUHOU!

Name: Anonymous 2009-05-07 1:36

>>8
10/10

So awful the negative rating overflowed.

Name: Anonymous 2009-05-07 1:36

>>8
Yes, but what about I fucked you are touhou?

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