write a c++ program that read from a datafile 10 records. The records consist of:
Employee Name (array of 10)
Employee Wages (array of 10)
Employee Hours Worked (array of 10)
(The data should be read in from the main function)
Once data is read into the array should be passed to a function where you are to calculate and print each employee regular pay and bonus pay.
so far i have this but have no idea how to accomplish the goal.
So far i am getting this error..
main.cpp: In function 'int main()':
main.cpp:42:30: error: size of array 'name' has non-integral type 'std::string [10] {aka std::basic_string [10]}'
string name[Employee_Name];