A simple CLI c++ calculator written with a grammar to parse input calculations implemented with OOP.
$ git clone https://github.com/ouhadjilyes/CLI_cpp_calculator.git
$ cd CLI_cpp_calculator
$ g++ calculator.cpp -o my_calculator
$ ./my_calculator
$ git clone https://github.com/ouhadjilyes/CLI_cpp_calculator.git
$ cd CLI_cpp_calculator
$ ./calculator
- Each calculation or expression you give this calculator must end with a semicolon (;) otherwise it wouldn't work !!
> 2+32*3;
> 23+1 // error