Exercises
-
14.5 (Fill in the Blanks) Fill in the blanks in each of the following:
Computers store large amounts of data on secondary storage devices as .
The standard stream objects declared by header
<iostream>
are , , and .ostream
member function repositions the file-position pointer in a file.is the default file-open mode for an
ofstream
.istream
member function repositions the file-position pointer in a file.
-
14.6 (File Matching) Exercise 14.3 asked you to write a series of single statements. Actually, these statements form the core of an important type of file-processing program, namely, a file-matching program. In commercial ...
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.