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.
- Host: GitHub
- URL: https://github.com/amirhakimnejad/string-calculator.infix-to-postfix-convertion.postfix-calculation
- Owner: amirhakimnejad
- Created: 2018-06-18T22:05:27.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-11-17T20:49:39.000Z (over 7 years ago)
- Last Synced: 2025-02-23T07:34:02.219Z (over 1 year ago)
- Topics: algorithm, postfix-calculator
- Language: C++
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.