The fxt demos: data structures

Directory ds: Data structures like FIFO, heap and deque.
Find a list of all files in this directory here. An index of all topics is here

You may want to look at the outputs first.

bitarray-out.txt is the output of bitarray-demo.cc.
Demo of the bitarray data structure.
The demo uses the functions from bitarray.h (fxt/src/ds/bitarray.h)

bitarray2d-out.txt is the output of bitarray2d-demo.cc.
Demo of the 2-dimensional bitarray data structure.
The demo uses the functions from bitarray2d.h (fxt/src/ds/bitarray2d.h) bitarray.h (fxt/src/ds/bitarray.h)

deque-out.txt is the output of deque-demo.cc.
Demo of the double ended queue (deque) data structure.
The demo uses the functions from deque.h (fxt/src/ds/deque.h)

left-right-array-out.txt is the output of left-right-array-demo.cc.
The left-right array.
The demo uses the functions from left-right-array.h (fxt/src/ds/left-right-array.h)

priorityqueue-out.txt is the output of priorityqueue-demo.cc.
Priority queue.
The demo uses the functions from heap.h (fxt/src/ds/heap.h) priorityqueue.h (fxt/src/ds/priorityqueue.h)

queue-out.txt is the output of queue-demo.cc.
Demo of the queue (FIFO) data structure.
The demo uses the functions from queue.h (fxt/src/ds/queue.h)

ringbuffer-out.txt is the output of ringbuffer-demo.cc.
Demo of the ring buffer data structure.
The demo uses the functions from ringbuffer.h (fxt/src/ds/ringbuffer.h)

stack-out.txt is the output of stack-demo.cc.
Demo of the stack (LIFO) data structure.
The demo uses the functions from stack.h (fxt/src/ds/stack.h)