阅读背景:

c语言中的stack和queue

来源:互联网 

stack

#include <stack>

stack<int> s;

s.push(a);

while(!s.empty)

{

    cout<<s.top();

    s.pop();

}

 

int size=s.size();
#include <stack>

stack<int> s;

s.push



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: