Lost apron

Forest is people. People is you. You is us.
User avatar
swithun
Posts: 2643
Joined: Wed Mar 29, 2006 11:24 am

Lost apron

Postby swithun » Sun Jun 02, 2013 8: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!
0 x

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

Re: Lost apron

Postby simone » Wed Jun 05, 2013 5: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......
0 x
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)

User avatar
swithun
Posts: 2643
Joined: Wed Mar 29, 2006 11:24 am

Re: Lost apron

Postby swithun » Wed Jun 05, 2013 9: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.
0 x


Return to “The People's Forum”

Who is online

Users browsing this forum: No registered users and 2 guests

cron