Fortune cookies
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 cookiesDisplay all cookies in fortune(6) compatible format | Cookie filter |
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.
Fri 26-Nov-2010 09:30
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.
Fri 26-Nov-2010 09:32
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..