I am trying to write a program that reads a line from a data that has an employee name and an employee salary on it. I need to bring that data from the file into the program, and assign it with functions from a .h file that my teacher gave us. I also need to calculate the average salary, the maximum salary and the minimum salary, plus count how many employees are created.
I am having problems even getting started on this one. I have attached my program, and the "employee.cpp" and .h file that I am getting the functions from. There is a non-member function (I think) for pulling a name and salary from a stream, but I'm not sure how to call it or how to set it up to receive the stream data.