Description: Expression evaluation: in infix expression to a floating point number to the mix operator, respectively, to achieve: convert postfix expression and then evaluated infix expression evaluation are two evaluation algorithms implemented in two methods. The expression contains operators: addition+, subtraction-, multiplication*, division /, parentheses (), involution#, and other operators. Operator precedence and associativity of the mathematical algorithm. For example: the command-line input (-2.0)+ (1.0+2.0)* 3.0-2.0# 2.0 Enter
(1) infix expression output:
(-2.0)+ (1.0+2.0)* 3.0-2.0# 2.0 = 3.0
(2) postfix expression output:
-2.0 1.0 2.0+ 3.0*+ 2.0 2.0-
(-2.0)+ (1.0+2.0)* 3.0-2.0# 2.0 = 3.0
To Search:
- [Quine-McCluskey] - Quine–McCluskey Algorithm,finished with
- [KMP] - KMP algorithm, which is a series of afte
File list (Check if you may need any files):
compute.cpp
functions.h
main.cpp
Stack.h