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.
Entry #100094: Data Driven Calculator
by Mike Young
Normal calculators are fine as long as the rules of mathematics don't change. But what if you want 1+1 to equal something other than 2, while keeping all other results the same? By making the calculator data driven, I have allowed it greater flexibility and expanded its function beyond mere number processing. Also, it goes to 11.
At the moment, I have just implemented the data set for the test cases; however, if you wish to add to the data set, it can be done by editing the self-explanatory Microsoft Access database required by the code.
Please note that you must have the files db1.mdb in the same directory as the calculator during runtime.