栈的问题在栈的操作中,有push pop操作,怎么还有个top操作?top不是栈顶指针的意思么?[解决办法]top()操作 仅是返回栈顶元素,并不执行pop()的弹栈操作。[解决办法]"pop" means removing the top element of the stack."top" means getting the top element of the stack.[解决办法]top就是获得栈顶存储值得函数,不会退栈,Pop函数是退栈函数,会退出栈顶元素。