Week 10

Home Charlie Poole Contact Info Search Contents

Week 10 - March 5/7

Back Up Next

Due This Week

Because of the unexpected closure last week, we will cover material originally scheduled for last week on Monday, i.e. multidimensional arrays and the standard string class.
Program #9 is due on Wednesday

Preparation for Class

Read sections 11.1 and 11.2 of the text for Wednesday

Topics Covered this Week

Review of "C" strings
Example: processing words in a file
Multidimensional arrays
Multidimensional array basics
Arrays of cstrings
Pointers
Pointer variables
The * and & operators
new and delete
Basic Memory Managerment
The "heap"
Memory leaks
Static, Dynamic and Automatic variables
Complex types and typedef
Dynamic Arrays
Arrays and pointers compared
new and delete[] with arrays
pointer arithmetic
Arrays of pointers (lecture)
An array of cstrings

Assignments

Program #10

Back Up Next

Home Charlie Poole Contact Info Search Contents

Copyright © 2000  Charlie Poole. All rights reserved.
Revised: July 15, 2002 - cpoole@ctc.edu