Question: Why do I get a debug error, Abort() has been called? The file Yawn 11.20 3 Joser 21.50 50 George 34.50 40 Larry 23.4 37
Why do I get a debug error, Abort() has been called? 
The file
Yawn 11.20 3 Joser 21.50 50 George 34.50 40 Larry 23.4 37 Daryl 12.8 55 Rick 25.80 56 Shane 19.90 44 Carol 11.00 4 Andrea 14.5 35 Jeremy 34 Jonathon 32
Data >> name; while (Data) { Data >> payPerHour; if (!Data.eof() { Data >> tempHours; if (tempHours.find('.')) { hoursWorked = stoi(tempHours); cents = calculatePay(hoursWorked, payPerHour); Data >> name; } else { hoursWorked stoi(tempHours); cents = calculatePay(hoursWorked, rate); } cout
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
