given a queue:
queue<int> myqueue;
write a function to remove the last entry in the queue.
remark: you can't use stack, pointers, or linked list to do that. You can only use functions such as myqueue.pop(), myqueue.front() etc...
Anyone has any ideas?