c++ STL 栈的模板

来源:互联网 发布:windows下编译php扩展 编辑:程序博客网 时间:2024/04/28 14:17
#include <iostream>
#include <cstdio>
#include <stack>
using namespace std;
stack<int> s;
int x = s.top();
s.push(x);
s.pop();
s.empty();
s.size();

0 0
原创粉丝点击