[SOLVED] CS代考计算机代写 #ifndef SDDS_EMPLOYEE_H_

30 $

File Name: CS代考计算机代写_#ifndef_SDDS_EMPLOYEE_H_.zip
File Size: 452.16 KB

SKU: 6872574603 Category: Tags: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

Or Upload Your Assignment Here:


#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_

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[SOLVED] CS代考计算机代写 #ifndef SDDS_EMPLOYEE_H_
30 $