An open API service indexing awesome lists of open source software.

https://github.com/amirhakimnejad/string-calculator.infix-to-postfix-convertion.postfix-calculation

A C++ program that implemented and merged two algorithms, first one is the conversion between infix and postfix, and the second one can handle the calculation of a postfix phrase.
https://github.com/amirhakimnejad/string-calculator.infix-to-postfix-convertion.postfix-calculation

algorithm postfix-calculator

Last synced: about 1 month ago
JSON representation

A C++ program that implemented and merged two algorithms, first one is the conversion between infix and postfix, and the second one can handle the calculation of a postfix phrase.

Awesome Lists containing this project

README

          

# String-Calculator.infix-to-postfix-convertion.postfix-calculation
A program that contains a tokenizer function that converts the input string(infix) to a vector of strings , a convertToPostfix function that converts the vector that comes from the tokenizer to a postfix vector, a postfixCalculator that handles the calculation of a postfix expression, and a few useful functions like isOperator and so on. Did my best to have a clean code, feel free to submit issues or anything else.