stack是栈只能在一端操作,先进后出特点
不支持随机存取,不支持遍历,不支持迭代器,只能通过栈顶获取、加入、删除元素
简单的内容不多做赘述
void push(ele); void pop(); returntype top(); bool empty(); int size();