For a Beginner C++ course, I have this assignment:
Write a program that will read the payroll file. It should output the name and paycheck amount to the console. Also output the total pay of all employees to a data file "totals.dat". The input file contains the name followed by hourly wage followed by hours worked.