14 File Processing

Objectives

In this chapter you’ll:

  • Create, read, write and update files.

  • Perform sequential file processing.

  • Perform random-access file processing.

  • Use high-performance unformatted I/O operations.

  • Understand the differences between formatted-data and raw-data file processing.

  • Build a transaction-processing program using random-access file processing.

  • Understand the concept of object serialization.

Get C++ How to Program, 10/e now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.