Lecture overview -- Keyboard shortcut: 'u'    Source programs in next lecture -- Keyboard shortcut: 'n'  Course home

Source Programs
From C to C++

The Note Context in the rightmost column is only shown in case an annotated program exists. - You can navigate to the annotated program via the annotated slide view (= 'the note context').

C Program with an array.array-1.cSlide context--
A similar C program with pointers - one dimensional.array-1-ptr.cSlide context--
C Program with two a dimensional array.array-2.cSlide context--
A similar C program with pointers - two dimiensional.array-2-ptr.cSlide context--
Illustration of array limitations in C: Cannot assign.array-limitations-1.cSlide context--
A solution: Copy the array in a for loop.array-limitations-1-with-for.cSlide context--
Illustration of array limitations in C: Cannot pass as value parameter.array-limitations-2.cSlide context--
Less confusing version that uses pointers.array-limitations-3.cSlide context--
C program with a couple of structs.struct-1.cSlide context--
A move_person function with structs parameters - does not work.struct-2.cSlide context--
A move_person function with structs parameters - now better.struct-3.cSlide context--
A program that illustrates a struct with bit fields.bit-field-ex.cSlide context--
C program with function pointer.func-1.cSlide context--
Same program - without explicit use of the address and dereferencing operators.func-2.cSlide context--
Same program - using a typedef to capture the function type.func-3.cSlide context--
A program with a for loop in C.for-c.cSlide context--
Illustration of local variables in a for loop in C++.for.ccSlide context--
A C program with a swap function.swap.cSlide context--

Generated: Tuesday March 26, 2013, 13:03:06