C语言表达式计算器
为了方便了解流程,在程序中把计算过程也输出了.而且栈操作的实现部分也是自己实现的.L:Zt }9fE:x'o*E$T程序用两个栈,optr寄存运算符,opnd寄存操作数和运算结果.输入的表达式以等号结束,例如:2*(1+2)=
/**************表达式计算器************/6_*Z.{+~z` V
#include <stdio.h>t.k+e-R(L
#include <stdlib.h>d!N\ m4whY(B;h m7a
#include <string.h>v'Y7{5gG[ WX
#include <conio.h>9e/E\:j.J5q-t+p
#include <malloc.h>