The Daily WTF: Curious Perversions in Information Technology
Welcome to TDWTF Forums Sign in | Join | Help
in Search

Entry #100094 - Data Driven Calculator

Last post 06-11-2007 12:09 PM by Alex Papadimoulis. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 06-11-2007 12:09 PM

    Entry #100094 - Data Driven Calculator

    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.
Page 1 of 1 (1 items)
Powered by Community Server (Non-Commercial Edition), by Telligent Systems