Program Input and The Software Design Process

 

I.  Getting Data into Programs

A.  Input Streams and the Extraction Operator (>>)

B.  The Reading Marker and the Newline Character

C.  Reading Character Data with the get Function

D.  Theoretical Foundations: More about Functions and Parameters

E.  Skipping Characters with the ignore Function

II.  Interactive Input/Output

III.  Noninteractive Input/Output

IV.  File Input and Output

A.  Files

B.  Using Files

1.  Including the Header File fstream.h

2.  Declaring File Streams

3.  Opening Files

4.  Specifying Files in Input/Output Streams

5.  An Example Program Using Files

V.  Input Failure

VI.  Software Design

VII.  Top-Down Design

A.  Modules

1.  Writing Cohesive Modules

2.  Pseudocode

B.  Implementing the Design

VIII.  Object-Oriented Design

IX.  Software Engineering Tip: Documentation

X.  Testing and Debugging

A.  Background Information: Programming at Many Scales

B.  Testing and Debugging Hints

XI.  Summary