Question: use C++ write this program This assignment involves creating a program to track employee information. Keep the following information on an employee 1. Employee ID
use C++ write this program


This assignment involves creating a program to track employee information. Keep the following information on an employee 1. Employee ID (string) 2. Last name (string) 3. First Name (string) 4. Birth date (string as MM/DD/YYYY) 5. Gender (M or F, single character) 6. Start date (string as MM/DD/YYYY) 7. Salary per year double Thus you must create a class that has all of this, and get/set methods for each of these fields. Your class must have three constructors: 1. No arguments. Just construct an object. 2. Takes only an employee ID 3. Takes all information When the program starts it must check to see if a file called Employee.txt exists. If it does, read the information into Employee objects which you dynamically allocate and put them into an array of pointers to objects. Data in the file is stored separated by spaces, one employee per line. Assume the company will have no more than 100 employees, but if it does, show an error. No vectors for this one
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
