//Stack STL
//在STL中,栈是以别的容器作为底部结构,再将
//接口改变,使之符合栈的特性
//一共5个常用操作函数 //构造析构
stack<Elem>c; //build a empty stack
stack<Elem>c1(c2); //copy a stack //5 functions
c.top(); //return the element at the top of the stack
c.push(elem); //push element at the top
c.pop(); //pop element at the top c.empty();
c.size(); //return the size of the stack //Stack is just a encapsulation of other container.
//It just supply its own interfaces.
//Elements are pushed/popped from the "back" of the specific container, which is //known as the top of the stack.

  

最新文章

  1. 如何使用VS在SharePont 2013中插入ashx文件
  2. 【TYVJ1864】[Poetize I]守卫者的挑战 概率与期望
  3. jqxComboBox
  4. 当java出现异常,应如何进行处理
  5. Linux中查看各文件夹大小命令du -h --max-depth=1
  6. 20145222黄亚奇《Java程序设计》实验五实验报告
  7. JBPM TaskInstance 对象创建过程
  8. 夺命雷公狗---Thinkphp----9之中间层的创建,防止跨目录访问
  9. [GIF] GIF Loop Coder Single Mode
  10. BigRender
  11. [转] java中的匿名内部类总结
  12. 路由器的nat模式、路由模式和全模式
  13. 通往WinDbg的捷径
  14. android:在ViewPager中使用Button
  15. 【javascript】异步编年史,从“纯回调”到Promise
  16. substance在java swing中使用注意事项
  17. hibernate 基础
  18. HTML5本地存储之本地数据库篇
  19. mybatis高级映射-一对多
  20. OAuth2 Demo PHP

热门文章

  1. MATLAB的符号运算基础
  2. 今天学习的裸板驱动之GPIO实验学习心得
  3. Js控制iphone端的input/textarea元素失去焦点时隐藏键盘
  4. EasyUI Messager 消息框
  5. Chrome 插件自定义博客编辑界面
  6. 真的了解JS么?
  7. 单向链表仿LinkedList
  8. 详细介绍Java垃圾回收机制
  9. spark MLLib的基础统计部分学习
  10. TheFifthWeekText