|
|
Entry #100320: ChickenCalcby Chicken Little
In this version of the OMGWTF calculator I decided to take a minimalistic approach to solving the problem. That is, I used the minimal number of features of the C++ language. I made use of only two data types; char and bool. There are no conversions between text strings and number types, and there is no math done on any of the data. Any math done in the code is only done to the pointers.
For program flow control I used while loops, the if statement, and ?: operator. I also did not make use of any of the CRT functions in the calcfunc.cpp file, although there are still some in main.cpp. Download • 0 Comments |