![]() |
calculator (Windows) - library API 1.1.1
calculator - Libraries
|
A simple program to demonstrate the usage of the calculator library. More...
#include <iostream>#include <stdexcept>#include <string>#include "../../calculator/header/expressionParser.h"Functions | |
| int | main () |
A simple program to demonstrate the usage of the calculator library.
Reads one infix expression from standard input, parses and evaluates it with Coruh::Calculator::ExpressionParser (library code, unit tested under src/tests/calculator), and prints the result. All expression parsing logic lives in the calculator library, not here, so it can be unit tested.
| int main | ( | ) |