#ifndef __EXPMAN_H__ #define __EXPMAN_H__ #include #include #include #include #include #include #include "ExpressionManagerInterface.h" using namespace std; class expman : public ExpressionManagerInterface { public: bool isBalanced(string expression); string postfixToInfix(string postfixExpression); string infixToPostfix(string infixExpression); string postfixEvaluate(string postfixExpression); }; int precedence(string ch); bool is_paren(string token); bool is_int(string token); bool is_valid_expression(string token); bool is_valid_token(string token); stack reverse_stack(stack); stack parse_expression(string); #endif