Lost apron

Forest is people. People is you. You is us.
Post Reply
swithun
Posts: 2683
Joined: Wed Mar 29, 2006 12:24 pm

Lost apron

Post by swithun » Sun Jun 02, 2013 9:42 pm

Has a beige apron with a big blue A (for Arch Linux) on it turned up after tidying up the Meadows Festival bar? There will be some lines of C for the person lucky enough to find it!

simone
Posts: 993
Joined: Wed Mar 19, 2008 11:47 am

Re: Lost apron

Post by simone » Wed Jun 05, 2013 6:46 pm

we have an apron at our house on it that says kiss the code on it!!

does that mean we win the lines of c......
I saw two shooting stars last night, i wished on them, but they were only satellites.
is it wrong to wish on space hardware?
(Billy Bragg)

swithun
Posts: 2683
Joined: Wed Mar 29, 2006 12:24 pm

Re: Lost apron

Post by swithun » Wed Jun 05, 2013 10:08 pm

Safe as fuck. Thank you.

Here are your lines of C. Don't snort them all at once.
#include <stdio.h>

#define MAX 1000000

void main()
{
int b, a, c;
for (a = 1; a < MAX; b=a, a+=c, c=b)
printf("%d\n", a);
}
If you save it to a file called fib.c, you can compile it with the command gcc -o fib fib.c.

Post Reply