C++ Programming: Files and Streams


Overview/Description
Target Audience
Prerequisites
Expected Duration
Lesson Objectives
Course Number



Overview/Description
To provide the student with the skills required to create C++ programs that use files

Target Audience
Students with knowledge of structured programming techniques

Prerequisites
Some experience of C or another structured programming language

Expected Duration (hours)
2.7

Lesson Objectives

C++ Programming: Files and Streams

  • give a brief account of streams and devices.
  • identify the classes used in stream and file processing.
  • outline how formatting is carried out on I/O streams.
  • outline the basic C++ program structure used in file processing.
  • identify how data is transferred to and from a file.
  • create a C++ program that takes in order details and writes them to a file.
  • outline how to create a random access file.
  • outline how to read from and write to a random access file.
  • Course Number:
    116675_eng