Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Creating A Database In Filemaker Pro Visual QuickProject Guide

Authors: Steven A. Schwartz

1st Edition

0321321219, 978-0321321213

More Books

Students also viewed these Databases questions

Question

If z = x4 - 5x2 + 6x + 3y3 - 5y + 7, find z / x and z / y.

Answered: 1 week ago

Question

Is this investment worthwhile? Why or why not?

Answered: 1 week ago