Dana Vrajitoru
C201/I211 Computer Programming II

Homework 5

Due Date: Monday, October 9, 2006.

Ex. 1 Download the following files:
employee.h
employee.cpp
main.cpp

Create a project just like for the previous homewotk and include these three files.

Ex. 1. a. Complete all the functions in the file employee.cpp that have the comment "To be completed by the student".

b. Add a test for the function Sort_by_salary in the main function after the test for Sort_by_id.

c. Deallocate the array personnel before the end of the main.

Show an example of the execution by embedding it in the program as a comment, as usual. Send the three files you modified by email. Do not change the file names for this homework.