CS代考计算机代写 #ifndef SDDS_EMPLOYEE_H_

#ifndef SDDS_EMPLOYEE_H_
#define SDDS_EMPLOYEE_H_

#define DATAFILE “employees.csv”
namespace sdds {
struct Employee {
char* m_name;
int m_empNo;
double m_salary;
};
//sorts the dynamic array of employees based on the GPA of the employees.
void sort();
// loads a employee structue with its values from the file
bool load(………….);
// allocates the dyanmic array of employees and loads all the file
// recoreds into the array
bool load();

// TODO: Declare the prototype for the display function that
// displays a employee record on the screen:

// TODO: Declare the prototype for the display function that
// first sorts the employees then displays all the employees on the screen

// TODO: Declare the prototype for the deallocateMemory function that
// first will deallocate all the names in the employee elements
// then it will deallocate the employee array

#endif // SDDS_EMPLOYEE_H_

Posted in Uncategorized

Leave a Reply

Your email address will not be published. Required fields are marked *