-
Notifications
You must be signed in to change notification settings - Fork 1
Queue_Count
Sancky edited this page Sep 26, 2022
·
2 revisions
Get the elements count from an queue.
Queue_Count(queue)
new Queue:queue<10>;
Queue_InsertValue(queue, 1);
Queue_InsertValue(queue, 2);
Queue_InsertValue(queue, 3);
Queue_InsertValue(queue, 4);
printf("Queue have %d elements.", Queue_Count(queue));
Returns the count of the elements from the queue.