眷恋你的方圆

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2018年8月25日

摘要: 栈:先进后出 #include<stack> stack<int> temp; temp.pop():移除栈顶元素。 temp.push():在栈顶增加元素。 temp.empty():栈为空返回真。 temp.top():返回栈顶元素。 temp.size():返回栈中元素数目。 如果想让stac 阅读全文
posted @ 2018-08-25 21:17 眷恋你的方圆 阅读(1815) 评论(0) 推荐(0) 编辑