Next:
About this document ...
Up:
5.2 Queue
Previous:
5.2.4 Remove item
5
.
2
.
5
Is empty
The ``is empty'' function of a queue is the same as that of a stack, we use the list pointed to by the head for the call to
List_isempty
.
int Queue_isempty(struct Queue *pQ);
Copyright © 2006-10-23 by Tak Auyeung