Page 1 of 1

Nerdy...

Posted: 2006.06.01 08:47
by Marcus
Java:
A byte and an integer are sitting in a bar showing off to a hot ArrayList. They're telling her stories about how cool they are, but she's plainly bored. After a long time of this, the byte and the integer at last get the hint and leave. A String who was sitting in the corner comes over and says to her, "hey - were those two primitive types giving you a hard time?"
She says, "Yes! I guess they're nice enough, but well, they just had no class!"

C:
jmp_buf tallegren;
if(set_jmp(tallegren))
{
log(FATAL, "Leg damage");
log(FATAL, "Tail damage");
exit(1);
}
else
{
while(soundlevel(barnen) < AUDIBLE_LIMIT)
skala_kottar();

// Gets here if barnen are heard. We have to get out of here!
//
longjmp(tallegren);
}