=== Queue data structure implementation ===
Welcome to test console
3 queue structures are available for use in this session.
You can select them by using select [0-2]. By default, Queue 0 is selected.
==============================================================================
Valid commands are:
select [0..2] - select queue
selected or which - which queue is selected
put <value> - insert value into selected queue
putn <n> <value>*n - insert n values
get - remove & print the first one
getn <n> - remove & print the first n elements
printout - print selected queue
purge - clear selected queue
empty - is the selected queue empty or not?
:= <q1> <q2> - <q1> queue := <q2> queue
- <q1> <q2> <q3> - <q1>:=<q2>-<q3> - puts elements of <q2>
that don't exist in <q3>, into <q1>
==============================================================================
General constructor
General constructor
General constructor
C:\>put 10 20
C:\>C:\>put 20
C:\>select 1
C:\>putn 2 30 40
C:\>printout
Queue listing - ID=Q1, size: 2
30 40