Программа про Stack - C++
08.03.2013, 07:57. Просмотров 243. Ответов 1
Помогите пожалуйста, решить программу про Stack.
The input file should be HomeworkSixInput.txt, provided by the assignment. This file has one postfix notation expression per line. (You can test your program with any data you like, but this is the file that I will use to grade the program, and your program input should use this file name by default.)
The program should read each line and evaluate the expression. The program should ignore any extra white space characters.
The output of the program should be the expression and its evaluated value.
The program should use the template class Stack2 as provided by our textbook to implement necessary stacks
The program can read the file into character arrays or into Strings, your choice.