CS1411 - 160 - Programming Principles I, Spring 2005

Examples

Here are some examples from class:

Chapter 1

Chapter 2 (boolean + if)

Chapter 2 (enum, switch, loop)

Chapter 3 (function basics)

Chapter 4 (functions, drivers, stubs)

Chapter 5.1 (arrays)

Chapter 5 (more on arrays)

Chapter 5 (even more on arrays)

Random stuff

Chapter 6.1 (structs)

Chapter 9 (C-Strings)

Chapter 9 (C++-Strings)

Chapter 11: Separate compilation

Chapter 10: Pointers

Chapter 13: Recursion

File I/O

Exceptions

Templates

Misc