#include #include using namespace std; int main(void) { queue q; q.push(7); q.push(5); q.push(4); q.pop(); q.push(6); q.pop(); while(!q.empty()) { cout << q.front() << ' '; q.pop(); } return 0; } /* FIFO First In First Out */