Fortune cookies

  • There are 1689 fortune cookies in the database, as seen through the filter.

Search the cookie jar: 

For quite some time I've been collecting interesting, cool, geeky, thought-provoking, weird or merely funny taglines in a big file. A tagline is a witty and usually small note that you add at the end of each mail you send. They are also known as fortune cookies.

Display some random cookies
Display all cookies in fortune(6) compatible format
Cookie filter
AllowRequire
Geek-only
German
French
Danish

Discuss this fortune cookie

Disclaimer: I am not responsible for what people (other than myself) write in the forums. Please report any abuse, such as insults, slander, spam and illegal material, and I will take appropriate actions. Don't feed the trolls.

Jag tar inget ansvar för det som skrivs i forumet, förutom mina egna inlägg. Vänligen rapportera alla inlägg som bryter mot reglerna, så ska jag se vad jag kan göra. Som regelbrott räknas till exempel förolämpningar, förtal, spam och olagligt material. Mata inte trålarna.

Anonymous
Fri 26-Nov-2010 09:30
unsigned char returnval = 255;
returnval++;
return (int)returnval;

problem solved. (you can avoid a cast by using 0xFF(repeater)...for the size of ints but that can change between systems...

name's doublebeta - in case you want to point out some flaw in this.
Anonymous
Fri 26-Nov-2010 09:32
unsigned char returnval = 255;
returnval++;
return (int)returnval;

problem solved. (you can avoid a cast by using 0xFF(repeater)...for the size of ints but that can change between systems...

name's doublebeta - in case you want to point out some flaw in this.

Oh and to determine zero you'll need another wraparound ;). Just because Romans can't represent zero doesn't mean a computer can't! Base 2.
^ doublebeta again btw..