10-11-2013 10:57 PM
Hi everyone,
Can anyone here tell me what's the difference between queue stack from queue and stack?
Cheers.
10-11-2013 11:46 PM
Same thing. If you visualize them mentally, a queue is oriented horizontal, and a stack is vertical. The word stack is more closely associated with assembly and machine language, and queue is usually an array structure, with controls for inserting, reading creating destroying, etc.
10-11-2013 11:57 PM
How about queue LIFO and queue FIFO?
10-12-2013 03:38 AM
just data strucutres ..........basically if last element in is first element out you call it as stack ( just name )
and if first element in is the first element out you call it as a queue....
resembles to real life![]()
10-12-2013 10:28 AM
In LabVIEW, if you add elements to the queue using Enqueue Element, you are creating a FIFO (First In, First Out). If you add elements to the queue using Enqueue From Opposite End, you are creating a FILO (First In, Last Out). The FILO is often called a Stack.