Streams and Files

View Code 1 View Code 2

Basic Concepts

Stream
a data type that processes characters
Output
sending out information
Input
receiving in information
Linear Processing
the reading and/or writing to files in order of processing
Random Access Processing
the reading and/or writing to files in any order

Files

File
a source of information
Text
a file that only has characters, ends in .txt
Data
a file that only has numbers, ends in .dat
ASCII File
a file that holds both numbers and letters
BOF
acronym for Beginning Of File
EOF
acronym for End Of File, more commonly used than BOF
Fail
a common term for when something went wrong in writing or reading a file

Prev -- Back to Portal -- Next