annulla
Visualizzazione dei risultati per 
Cerca invece 
Intendevi dire: 

Queue, stack, queue stack

Hi everyone,

 

Can anyone here tell me what's the difference between queue stack from queue and stack?

 

Cheers. 

0 Kudos
Messaggio 1 di 5
3.661Visualizzazioni

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.

Machine Vision, Robotics, Embedded Systems, Surveillance

www.movimed.com - Custom Imaging Solutions
0 Kudos
Messaggio 2 di 5
3.652Visualizzazioni

How about queue LIFO and queue FIFO? 

0 Kudos
Messaggio 3 di 5
3.646Visualizzazioni

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 lifeSmiley Strizza l'occhio

0 Kudos
Messaggio 4 di 5
3.627Visualizzazioni

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.



There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Messaggio 5 di 5
3.619Visualizzazioni