Ace school

with brainly

  • Get help from millions of students
  • Learn from experts with step-by-step explanations
  • Level-up by helping others

A community for students.

C++ help with payroll program vector array of records; see attachments/links..

Computer Science
See more answers at brainly.com
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.

Join Brainly to access

this expert answer

SEE EXPERT ANSWER

To see the expert answer you'll need to create a free account at Brainly

here's the assignment: http://dl.dropbox.com/u/23228237/hw3.rtf here's my code: http://dl.dropbox.com/u/23228237/hw3.cpp here's the datafile: http://dl.dropbox.com/u/23228237/datafile.txt i'm on step 3. you can see my attempt at creating the basepay function (under the class Records) though i'm not really sure as to how i'm supposed to go about doing that with the vector and all. then in the main program when i try to execute it (right before closing the datafile towards the end) -- that i'm pretty sure i can't be doing properly either because for one thing it doesn't print anything, so i don't know what it's doing, if anything, but the program builds and compiles fine with zero errors.
oh should i put it in a constructor? god damn it
what the hell are you talking about

Not the answer you are looking for?

Search for more explanations.

Ask your own question

Other answers:

Are you talking to yourself? :)
It looks to me like you are attempting to call your basepay function with this call: recordlist[i].basepay(employee.hours,employee.rate) however basepay is a (albiet commented out) variable in the records class. Try passing your function the hours and rate like this: for (int i=0; i

Not the answer you are looking for?

Search for more explanations.

Ask your own question