File I/O

  • There are 2 basic types of file streams:
    1. text files - character data, made of up of strings. Keyboard and GUI input is also string-based data. Reading and writing is done with character-based streams.
    2. binary files - native-format data, stored as 1's and 0's not as characters. Reading and writing is done with byte-based streams.