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 the O’Reilly learning platform.

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