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 books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.