资 源 简 介
c语言编译的计算器
为了方便了解流程,在程序中把计算过程也输出了.而且栈操作的实现部分也是自己实现的.
程序用两个栈,optr寄存运算符,opnd寄存操作数和运算结果.输入的表达式以等号结束,例如:2*(1+2)=
-c language compiler of the calculator in order to facilitate the understanding of flow, in the procedure to calculate the output of the process. but Stack is the realization of part of their realization. procedures with two stacks, optr storage operator, opnd operand storage and computing the results of . enter the expression in order to equate the end of, for example: 2* (1+ 2) =