CHAPTER13

Files, Directories, and Other Things That Persist

In This Chapter

  • Understanding files and directories
  • How to create and put data in a file
  • Finding files
  • Reading and writing files
  • Moving around a file
  • How to store preferences

One of the nicest things about computers is that they can do calculations lightning fast. They can crunch numbers and determine in milliseconds if you are going to be overdrawn on your checking account come the end of the month. However, all of these calculations are pretty much worthless unless you can save them and bring them back up. Otherwise, you’d have to enter all of your checks and deposits every month ...

Get Beginning Programming now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.