This preview shows page 1. Sign up to view the full content.
Unformatted text preview: Lec 17
Nov 4th, 02 Files A file is a collection of data that is stored together under a common name, usually on a disk, magnetic tae or CDROM. External file is the name of the file as it is known by the operating system. Eg: exper1.dat info.txt etc... File Stream Objects and modes A file stream is a oneway y\transmission path that is used to connect a file stored on a physical device, such as disk or CDROM, to a program. Every file stream has a mode. Input file stream is used to receive or read data from a file. Output file stream is use...
View Full Document
This document was uploaded on 07/06/2011.
- Spring '09