#include
#include
int main(int argc, char* argv[])
{
std::queuemyqueue;
myqueue.push(1);
myqueue.push(2);
myqueue.push(3);
std::cout << "顺序出队:";
while (!myqueue.empty()){
std::cout << ' ' << myqueue.front();
myqueue.pop();
}
std::cout << '\n';
return 0;
}