[Lecture 5] [Content] [Lecture 7]

Lecture 6


The presentation from the lecture 6 about arrays is available to download: 14PAM_lecture_6_arrays.pdf.

Example from the lecture with arrays:
CodeBlocks:array_1D_1.cbp, array_1D_1.c
CodeBlocks:array_1D_2.cbp, array_1D_2.c
CodeBlocks:print_array.cbp, print_array.c
CodeBlocks:array_2D_1.cbp, array_2D_2.c
CodeBlocks:array_1D_2.cbp, array_2D_2.cpp

The presentation from the lecture 6 about functions is available to download: 14PAM_lecture_6_functions.pdf.

Example: printing addresses of variables:
CodeBlocks:mem_address.cbp, mem_address.c

The presentation from the lecture 6 about recursion is available to download: 14PAM_lecture_6_recursion.pptx.

Towers of Hanoi:
CodeBlocks:hanoi.cbp, hanoi.c