Professional Documents
Culture Documents
Allow us to store information permanently, and access and alter information whenever necessary Types of data files
Stream-oriented (Standard) data files: Easier to work with
Text file: consisting of consecutive characters Binary file (unformatted data files): organizes data into blocks. These blocks represent more complex data structure, such as arrays and structures
FILE is a special structure type that establishes the buffer area, ptvar is pointer (stream pointer or stream) that indicates the beginning of the buffer area.
Problems
Take input from keyboard and store in a file Read from a file and display in the monitor Copy a file Encoding and decoding a file Create a file containing customer record Creating an unformatted data file containing customer record