23 Arrays of Structures

Chapter 24
Simple C File Processing
So far, every example in this book has processed data that resided inside the program listing or came from the keyboard. You assigned constants and variables to other variables and created new data values from expressions. The programs also received input with scanf(), gets(), and the character input functions. With the large volumes of data that most real-world applications need to process, however, you need a better way of storing that data. For all but the smallest computer programs, disk files offer the solution.
After storing data on the disk, the computer helps you enter, find, change, and delete the data. The computer and C are simply tools to help you manage and process data. This chapter focuses on disk and file processing concepts.
This chapter teaches you the following topics:
An overview of disk files
Types of files
Sequential file access
Random file access

 



C by Example
C by Example
ISBN: 0789722399
EAN: 2147483647
Year: 1999
Pages: 43
Authors: Greg Perry

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net