Comic 21 - C instructions for life

22nd Oct 2010, 7:36 PM
People think this is worth: 0/5 (Based off of 0 people)
<< >>
From now on, a standing offer: points for every reference you can name.

I say:

Jrade 22nd Oct 2010, 7:36 PM edit delete
Jrade
...well, maybe C isn't necessarily better...

...at least we don't keep breathing forever anymore. Now we can create zombies!

if(zombfact==1){//zombfact is zombification factor
while(brains<1){
if(searchfor(brains){
brains+=;
eat(&brains);
}
}

//add in following functions

void eat(int *f){
*f=*f-1;
}

int searchfor(int o){
double a;
a=0;
do{
&a+=;
if(a==o)break;
}while(1)
return o;
}



No, I didn't spend much time on the code. No, I'm !certain that it works. Yes, I would like to see your suggestions for how to code a zombie.

People say:

JRex63 29th Dec 2010, 3:09 AM edit delete reply
JRex63
Digital zombies suck, but they are easily defeated with a simple magnet...

Permalinks:

Who's visited?