For the life of me, I do not understand why a single call to this function (from the main program) executes this function multiple times (about 50 - 70). This is really frustrating, you guys gotta help me out with this. This is a dequeue function of the dynamic queue class (queue of linked lists). A call to this function should delete the front node. There are some requirements as to what nodes should be enqueued back which is evident from the enqueue statement in the program.