[Lecture 8] [Content] [Lecture 10]

Lecture 9


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:
Library: SafeArray_c.h, SafeArray_c.cpp
Application: app_sarray_c.cbp, app_sarray_c.cpp
Implementation of FIFO (cyclic queue):
Library: FIFO.h, FIFO.cpp
Application: queue.cbp, queue.cpp
Implementation of LIFO (as linked list):
Library: LIFO.h, LIFO.cpp
Application: app_stack.cbp, app_stack.cpp