diff options
Diffstat (limited to 'main.cc')
-rw-r--r-- | main.cc | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/main.cc b/main.cc deleted file mode 100644 index 3378e14..0000000 --- a/main.cc +++ /dev/null @@ -1,25 +0,0 @@ -#include <iostream> -#include <limits> - -#include "src/parser.h" - -int main() -{ - std::string inputTerm; - - std::cin >> inputTerm; - - try { - typedef std::numeric_limits<double> dbl; - std::cout.precision(dbl::digits10); - - std::cout << SimpleParser::calculate(inputTerm) << std::endl; - } - catch ( std::exception &e ) - { - std::cerr << e.what() << std::endl; - return 1; - } - - return 0; -} |