Two Examples of Simple Persistence
Here are two examples of simple persistence. The first example illustrates successful persistence of fundamental data types, and demonstrates the Essential Tools Module overloaded operators operator<< and operator>>, which save and restore persistent objects. The second example illustrates one of the problems with simple persistence—its inability to maintain pointer relationships among objects.