/****************************************************************** * Memorial University of Newfoundland * Engineering 4892 Data Structures * * $RCSfile$ $Revision$ * $Date$ * $State$ * * Include file for Assignment 1, part 2. * ******************************************************************/ /****************************************************************** * REVISION HISTORY * * $Log$ * ******************************************************************/ #ifndef EVALUATE_DEF #define EVALUATE_DEF #include int evaluate(const std::string& exp); // Pre: exp contains a fully parenthesized numeric expression // Post: Result = the value of the expression, evaluated using integer math #endif