Description: Design a four-expression analysis software, which accepts four expressions from a file or keyboard input (support integer operands and variables), given expression in the form of a binary tree of the expression, and on the keyboard, press the subsequent traversal of the binary output.
For example, enter a+ b* c, output a b c*+
Note: Refer to the following design guidelines:
Recursive descent experimental design ideas and algorithm analysis
To construct each nonterminal U G a recursive process, it may be named as U. U generates right-hand side indicates the code structure of the process:
(1) If the end of the symbol, and lookaheads contrast, if the match is to advance a symbol otherwise error.
(2) If the non-terminal symbol, then call this nonterminal corresponding process. When there are multiple right part A of production, s
To Search:
File list (Check if you may need any files):
CP_work_8\CP_work_8\CP_work_8.vcxproj
.........\.........\CP_work_8.vcxproj.filters
.........\.........\Debug\CP_work_8.log
.........\.........\.....\..........tlog\CL.read.1.tlog
.........\.........\.....\..............\CL.write.1.tlog
.........\.........\.....\..............\CP_work_8.lastbuildstate
.........\.........\.....\..............\link.read.1.tlog
.........\.........\.....\..............\link.write.1.tlog
.........\.........\.....\main.obj
.........\.........\.....\vc120.idb
.........\.........\.....\vc120.pdb
.........\.........\main.cpp
.........\CP_work_8.sln
.........\CP_work_8.v12.suo
.........\.........\Debug\CP_work_8.tlog
.........\.........\Debug
.........\CP_work_8
.........\Debug
CP_work_8