calc.cxx:This is a file that contains your main program for this assignment, along with various other functions that you write for your main program to use. As described above, the purpose of the main program is to read a file in which each line contains an arithmetic expression. The program evaluates these expressions and prints their values to cout.
The details of this main program are given in the sequence of exercises listed below.
stack2.template: These are the header file and implementation file for one of the Stack template classes from Chapter 7. Reminder: Since this is a template class, it is not separately compiled. Instead, your main program simply includes "stack2.h". With this include statement in place, the main program can declare and use any kind of stack.
This discussion will lead you through a series of exercises that discuss some of the input issues that you will face in writing a program to read a file of expressions and print the values of these expressions to cout. The end of the discussion describes the difference between an ordinary version of this program (which evaluates postfix expressions) and an honors version (which evaluates expressions in the usual infix notation).