Ό[L [ΜΕγΜvfπν·ι
| void pop_back(); |
#include <iostream>
#include <deque>
using namespace std;
int main()
{
deque<char> ob;
int i;
for(i=0; i<10; i++) ob.push_back('a'+i);
while(!ob.empty()) {
cout << ob.back() << " ";
ob.pop_back();
}
return 0;
}
|
ΐsΚ
| j i h g f e d c b a |