 |
|
|
|
|
The Reading Marker and the Newline Character |
|
|
|
| |
 |
|
|
|
|
Reading Character Data with the get Function |
|
|
|
| |
 |
|
|
|
|
Theoretical Foundations: More About Functions and Parameters |
|
|
|
| |
 |
|
|
|
|
Skipping Characters with the ignore Function |
|
|
|
| |
 |
|
|
|
|
Interactive Input/Output |
|
|
|
| |
 |
|
|
|
|
Noninteractive Input/Output |
|
|
|
| |
 |
|
|
|
|
File Input and Output |
|
|
|
| |
 |
|
|
|
|
Files |
|
|
|
| |
 |
|
|
|
|
Using Files |
|
|
|
| |
 |
|
|
|
|
Including the Header File fstream.h |
|
|
|
| |
 |
|
|
|
|
Declaring File Streams |
|
|
|
| |
 |
|
|
|
|
Opening Files |
|
|
|
| |
 |
|
|
|
|
Specifying Files in Input/Output Statements |
|
|
|
| |
 |
|
|
|
|
An Example Program Using Files |
|
|
|
| |
 |
|
|
|
|
Input Failure |
|
|
|
| |
 |
|
|
|
|
Software Design |
|
|
|
| |
 |
|
|
|
|
Top-Down Design |
|
|
|
| |
 |
|
|
|
|
Modules |
|
|
|
| |
 |
|
|
|
|
Writing Cohesive Modules |
|
|
|
| |
 |
|
|
|
|
Pseudocode |
|
|
|
| |
 |
|
|
|
|
Implementing the Design |
|
|
|
| |
 |
|
|
|
|
Object-Oriented Design (A Preview) |
|
|
|
| |
 |
|
|
|
|
Software Engineering Tip: Documentation |
|
|
|
| |
 |
|
|
|
|
Problem-Solving Case Study: Pythagorean Theorem Applied to Right Triangles |
|
|
|
| |
 |
|
|
|
|
Problem-Solving Case Study: Weighted Average of Test Scores |
|
|
|
| |
 |
|
|
|
|
Testing and Debugging |
|
|
|
| |
 |
|
|
|
|
Background Information: Programming at Many Scales |
|
|
|
| |
 |
|
|
|
|
Testing and Debugging Hints |
|
|
|
| |
 |
|
|
|
|
Summary |
|
|
|
| |
 |
|
|
|
|
Quick Check |
|
|
|
| |
 |
|
|
|
|
Exam Preparation Exercises |
|
|
|
| |
 |
|
|
|
|
Programming WarmUp Exercises |
|
|
|
| |
 |
|
|
|
|
Programming Problems |
|
|
|
| |
 |
|
|
|
|
Case Study Follow-Up |
|
|
|
| |