/* Filename:  employee.h

   Author:  Br. David Carlson

   Date:  January 24, 1998

   Last Revised:  November 21, 2001

   This is the header file to accompany employee.cpp.  It provides the
   structure type EmployeeType.
*/

#include <iostream>
using namespace std;


const int NameMax = 16;

const int OKFlag = 0;
const int FailFlag = 1;
const int TooMuchDataFlag = 2;

typedef struct
   {
   char FirstName[NameMax];
   char LastName[NameMax];
   int ID;
   float WageRate;
   } EmployeeType;


// Function prototypes:

int ReadEmployee(EmployeeType & Employee);

void PrintEmployee(const EmployeeType & Employee);

int EmpCompare(const EmployeeType & First, const EmployeeType & Second);


