[Lecture 8] | [Content] | [Lecture 10] |
The presentation from the lecture 9 about constructors and destructors is available to download: 14PAM_lecture6_constructors.pdf.
Implementation of the safe array from lecture 8 with constructor:Implementation of FIFO (cyclic queue):
Library: SafeArray_c.h, SafeArray_c.cpp Application: app_sarray_c.cbp, app_sarray_c.cpp Implementation of LIFO (as linked list):
Library: FIFO.h, FIFO.cpp Application: queue.cbp, queue.cpp
Library: LIFO.h, LIFO.cpp Application: app_stack.cbp, app_stack.cpp