8 File Processing
8 File Processing
C File Processing
Introduction
• Every disk file has a name and you must use filenames
when dealing with disk files. Filenames are stored as
strings. The rules that establish what is acceptable for
filenames differ from one operating system to another.
• A filename in a C program can contain path information.
the path specifies the drive and/or directory where the file
is located.
Opening a File