-
Notifications
You must be signed in to change notification settings - Fork 1
Queue_IsFull
Sancky edited this page Sep 26, 2022
·
3 revisions
Check if the queue is full.
Queue_IsFull(queue)
new Queue:queue<5>;
Queue_InsertValue(queue, 5);
Queue_InsertValue(queue, 10);
Queue_InsertValue(queue, 15);
Queue_InsertValue(queue, 20);
Queue_InsertValue(queue, 25);
printf("Queue is full: %d", Queue_IsFull(queue));
Returns true if the queue is full, otherwise false.