From c04051c034a5de33ba25e3182191d854edbbb516 Mon Sep 17 00:00:00 2001 From: Adrian Kummerländer Date: Fri, 27 Sep 2013 18:02:33 +0200 Subject: Modified Makefile to generate shared library * library is called libSimpleParser.so * parser was renamed to clc * test and clc are using the shared library --- main.cc | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 main.cc (limited to 'main.cc') 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 -#include - -#include "src/parser.h" - -int main() -{ - std::string inputTerm; - - std::cin >> inputTerm; - - try { - typedef std::numeric_limits 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; -} -- cgit v1.2.3