CS106 - Lecture 05 01/12/01

1/18/2001


Click here to start


Table of Contents

CS106 - Lecture 05 01/12/01

Outline

PPT Slide

Black Boxes

Information Hiding

How to Write Black Box Function Definitions

Case Study: Buying Pizza

Problem Definition

Problem Analysis

Algorithm Design

Algorithm Design - Pseudocode

Coding

Coding

Coding

Coding

Program Testing

Local Verses Global Variables

Example: Factorial Program

Local Varialbles

Global Variables

Function Overloading and Polymorphism

Automatic Type Conversion

Interaction of Overloading and Type Conversion

void-Functions

Void-Function Template

Returns Statements in void-Functions

Call-by-Reference parameters

Author: Henry Tufo

Email: tufo@mcs.anl.gov

Home Page: www.mcs.anl.gov/~tufo