-
Notifications
You must be signed in to change notification settings - Fork 1
Queue_GetFrontValue
Sancky edited this page Sep 26, 2022
·
3 revisions
Get the front (first) value from an queue.
Queue_GetFrontValue(queue)
new Queue:queue<10>;
Queue_InsertValue(queue, 1);
Queue_InsertValue(queue, 2);
Queue_InsertValue(queue, 3);
Queue_InsertValue(queue, 4);
printf("Queue front value is %d.", Queue_GetFrontValue(queue));
Returns the front (first) value from the queue, otherwise INVALID_QUEUE_VALUE.