Assignment 8

This assignment is worth 10 points.

Objectives

  1. Read chapter 4
  2. Define the following:
    1. file
    2. Object Oriented Design
    3. Functional Decomposition
    4. Functional Cohesion
  3. Describe the steps necessary to write data to a file.
  4. What special steps must be taken in order to open a file when the file name is stored in a C++ style string?
  5. What occurs when an input operation fails?
  6. Describe a condition which could cause an input operation to fail.