/* Filename: oneemp.cpp Author: Br. David Carlson Date: January 24, 1998 Last Revised: November 21, 2001 This program reads from the keyboard the data for one employee (first and last name, ID number, and wage rate) and then prints this data on the screen. Other files needed to compile this program: employee.h and employee.cpp Tested with: Microsoft Visual C++ 6.0 Microsoft Visual C++ .NET g++ under Linux */ #include "employee.h" int main(void) { EmployeeType Emp; int Flag; Flag = ReadEmployee(Emp); if (Flag == FailFlag) cout << endl << endl << "CTRL z entered, program ended" << endl; else { cout << endl << "The data for the employee entered above:" << endl; PrintEmployee(Emp); } return 0; }