#include <fstream.h>
#include <string.h>

// Header file for telephone directory entry object.

const int MaxSize = 25;
const int StrLength = 15;
const False = 0;
const True = 1;

typedef char KeyType[MaxSize];
typedef char StringType[StrLength];

//class specification
class Entry
{
   KeyType Name;
   StringType Number;

 public:
   void Init(KeyType AName,        //input - name
	     StringType ANumber);  //input - phone number
   void ReadEntry();
   void DisplayEntry();
   char *GetName();
   char *GetNumber();
   int EqualTo(Entry AnEntry);     //input - a directory entry
};
