nTo store and
retrieve data on a file in C++, three items are required:
nA file
nA file
stream
nA mode
nA file is a collection of data that is stored under a common name, usually
on a disk, magnetic tape, or CD-ROM.
nA file stream is any stream that connects a file stored on
a physical device.
nA stream is a one-way transmission path between a source and a
destination.
n