c语言 利用栈实现表达式求解
#include
#include
#definestack_init_size100
#definestackincreament10
#defineoverflow-2
typedefstruct{
char*base;
char*top;
intstacksize;
}Sqstackcha;
typedefstruct{
double*base;
double*top;
intstacksize;
}Sqstackdou;
Sqstackchaoptr;
Sqstackdouopnd;
chargettop
下载地址
用户评论
代码实在太长了。实用性不强。基本没什么注释或讲解
代码量太长,没有文档,不清晰,创造了两个栈,较繁琐。