会员
众包
新闻
博问
AI培训
云市场
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
louis_11
$Learn$ $from$ $yesterday$$,$ $live$ $for$ $today$$,$ $hope$ $for$ $tomorrow$$.$
博客园
首页
新随笔
联系
订阅
管理
2022年7月4日
各类STL的使用
摘要: stack stack<int>sta; //定义一个栈sta sta.push(a); //将a入栈 sta.pop(); //将栈顶元素出栈 sta.top(); //访问栈顶元素 sta.empty(); //bool类型,若sta为空返回true,不为空返回false sta.size();
阅读全文
posted @ 2022-07-04 16:27 louis_11
阅读(27)
评论(0)
推荐(0)
编辑
公告