Week 12

Lectures

Lecture 1

The first lecture introduces memory management in C. In addition to varilable, memory can be allocated while the program is running.

Lecture 2

The second lecture gives and example of why one would want to allocate memory while the program is running.

Lecture 3

The third lecture shows how to use the gdb debugger. Debuggers are important when writing programs that allocate memory because memory allocation can inroduce very obscure bugs.

Tutorial and Lab

Tutorial

The tutorial this week covers lectures for this week.

Lab

In the lab this week you will demo the real database that uses files. You may choose how much of the program your team will demonstrate

You will continue work on the real database that stores its data in files.

Database Backlog

This is the backlog for work for the rest of the class. You will implement the stories in this backlog twice: the first time as a fake using an array of structures. The second time, you will create a real database that stores records in a file.