need your help ,
now i want a hint for this question to know how to solve it :
template <class T> void sortqueu(queueType <T> & q);
this function is to sort all elements of that queue . using queue operation only (it is not a member function ) .
i tried to store the first element in a temp. than copare it with the second one , until the end of the queue .
but i discover later that all the element will be delete !
what to do it ? Help me !!