28. Saving Sequential Files to Your Computer
In This Chapter
• Storing information in disk files
None of the programs you’ve seen so far has been able to store data for very long. Think about this for a moment: If you defined an integer variable, put a
14 in it, and then turned off the computer (believe me now and try it later), that variable would no longer have
14 in it. If you turned your computer back on and tried to find the value in the variable, you couldn’t find it—no way.
This chapter explains how to save data to your disk. When the data is on your disk, it will be there until you change or erase it. Data on your disk is just like music on a tape. You can turn off the tape deck, and the tape ...
Get C Programming Absolute Beginner’s Guide, Third Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.