Skip to Content
C++ How to Program, Sixth Edition
book

C++ How to Program, Sixth Edition

by P. J. Deitel - Deitel & Associates, Inc., H. M. Deitel - Deitel & Associates, Inc.
July 2007
Beginner to intermediate
1504 pages
44h 24m
English
Pearson
Content preview from C++ How to Program, Sixth Edition

Chapter 17. File Processing

 

I read part of it all the way through.

 
 --Samuel Goldwyn
 

A great memory does not make a philosopher, any more than a dictionary can be called grammar.

 
 --John Henry, Cardinal Newman
 

I can only assume that a “Do Not File” document is filed in a “Do Not File” file.

 
 --Senator Frank Church Senate Intelligence Subcommittee Hearing, 1975

OBJECTIVES

In this chapter you’ll learn:

  • To create, read, write and update files.

  • Sequential file processing.

  • Random-access file processing.

  • To use high-performance unformatted I/O operations.

  • The differences between formatted-data and raw-data file processing.

  • To build a transaction-processing program using random-access file processing.

Outline

17.1

Introduction

17.2

Data Hierarchy

17.3

Files and Streams ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

C++ How to Program, 10/e

C++ How to Program, 10/e

Paul Deitel, Harvey Deitel
C++ How to Program, Ninth Edition

C++ How to Program, Ninth Edition

Paul Deitel, Harvey Deitel

Publisher Resources

ISBN: 9780136085669Purchase book