数据结构(C语言)代码实例9
//------------------返回栈元素个数------------------ int StackLength(SqStack S){ if(S.base==S.top){ return 0; } return S.top-S.base; }
下载地址
用户评论