O'Reilly logo

C++ Without Fear: A Beginner’s Guide That Makes You Feel Smart by Brian Overland

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

8 Files: Electronic Storage

So far, the programs in this book have performed calculations and printed results. That’s a good start, but it only takes you so far in the real world.

Most practical applications (reservation systems, database systems, spreadsheets, and even games) store and retrieve persistent information. This is data that hangs around after the program ends, and even after the computer is turned off.

In contrast, main memory (“RAM”) is certainly a kind of storage, but it’s not persistent. As soon as the computer loses power, all the data in memory is lost forever (which is why you kick yourself if you don’t save to disk in Word often enough). But even if main memory were more permanent—even if it didn’t zero out when the computer ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required