FileStore Example Overview

The FileStore example demonstrates how to read/write an employee class from/to a file store.

It is a GUI based example which uses CEmployee class to store necessary employee information.

The WriteEmployeeToStoreL() method stores a single employee details to a file store.

The ReadEmployeeFromStoreL() method reads a single employee details from a file store.

The WriteEmployeesWithMultiStreamsL() method stores details of multiple employees to a file store.

The ReadEmployeesWithMultiStreamsL() method reads details of multiple employees from a file store.

Download

Click on the following link to download the example: FileStore.zip

Click: browse to view the example code.

Usage

Commands are given to the example through its menu option.

The menu option consists of:
  1. Write single employee

  2. Read single employee

  3. Write multiple employees

  4. Read multiple employees