anonymous
  • anonymous
C++ help with payroll program vector array of records; see attachments/links..
Computer Science
  • Stacey Warren - Expert brainly.com
Hey! We 've verified this expert answer for you, click below to unlock the details :)
SOLVED
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.
chestercat
  • chestercat
I got my questions answered at brainly.com in under 10 minutes. Go to brainly.com now for free help!
anonymous
  • anonymous
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.
anonymous
  • anonymous
oh should i put it in a constructor? god damn it
anonymous
  • anonymous
what the hell are you talking about

Looking for something else?

Not the answer you are looking for? Search for more explanations.

More answers

eSpeX
  • eSpeX
Are you talking to yourself? :)
eSpeX
  • eSpeX
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

Looking for something else?

Not the answer you are looking for? Search for more explanations.