Class 4 Functions, Arrays, and Project Management
Class Dates
- Section MMY3A: Monday, March 4
- Section TTC3A: Tuesday, March 5
- Section FFC3A: Friday, March 1
Goals
- Complete Coverage of Functions
- Review Project Management
- Introduce Arrays
- Begin Classwork on Project 1
Topics
- Function Parameters
- Global, Local, and Static Variables
- Relationships Among .cc and .h files and:
- Function Prototypes
- Function Definitions
- Inline Functions
- Function Templates
- One and Two Dimensional Arrays
- Declaration Syntax
- Subscript Ranges
- Initializing
- Passing to Functions
- Files Provided for Project 1
and Project Strategy
Reading Assignment
Chapters 4 and 5.
Homework
- Do all Self-Review exercises at the end of Chapter 4. Do not hand in.
- Study Exercises 4.24 and 4.25 (Prepare for
Project 1).
- Nothing to hand in.
Christopher Vickery
Ruben Lusinyants
Queens College of CUNY
Dr. Vickery's Home Page