The document discusses file handling in C++. It describes how programs previously only allowed input from the keyboard and output to the screen, but files allow permanent storage of data on secondary storage devices. It introduces input/output streams that connect programs to files and other devices. It covers sequential access files, which store records one after another, and random access files, which allow direct access to any record. It provides examples of opening, reading from, and writing to both sequential and random access files.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
1K views
File Management in C++
The document discusses file handling in C++. It describes how programs previously only allowed input from the keyboard and output to the screen, but files allow permanent storage of data on secondary storage devices. It introduces input/output streams that connect programs to files and other devices. It covers sequential access files, which store records one after another, and random access files, which allow direct access to any record. It provides examples of opening, reading from, and writing to both sequential and random access files.