About The Contest

The first ever Olympiad of Misguided Geeks contest at Worse Than Failure (or OMGWTF for short) is a new kind of programming contest. Readers are invited to be creative with devising a calculator with the craziest code they can write. One lucky and potentially insane winner will get either a brand new MacBook Pro or comparable Sony VAIO laptop.

Navigation

Advertisements

Entry #100020: Reliable Calculator(tm]

by aib
v0.1: Changed the value of "FILE_NOT_FOUND" to 3.14.
v0.2: Changed the value of "FILE_NOT_FOUND" to -1.
v0.9: Changed the value of "FILE_NOT_FOUND" to -666.
v1.0: First release version
v1.1: Removed the "error correction" mechanism as it wasn't working properly.

*TODO: Write a utility that checks the source files to make sure that DoDiv sets isErr to the actual value that ProcessButtonClick expects in case of an error.

Download0 Comments