Forest BB

The digital grapevine of The Forest.
It is currently Sat Nov 29, 2014 7:27 am

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Lost apron
PostPosted: Sun Jun 02, 2013 8:42 pm 
Offline
User avatar

Joined: Wed Mar 29, 2006 11:24 am
Posts: 2630
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!


Top
 Profile  
 
 Post subject: Re: Lost apron
PostPosted: Wed Jun 05, 2013 5:46 pm 
Offline

Joined: Wed Mar 19, 2008 11:47 am
Posts: 961
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)


Top
 Profile  
 
 Post subject: Re: Lost apron
PostPosted: Wed Jun 05, 2013 9:08 pm 
Offline
User avatar

Joined: Wed Mar 29, 2006 11:24 am
Posts: 2630
Safe as fuck. Thank you.

Here are your lines of C. Don't snort them all at once.

Quote:
#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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group