Thread: Programing a payroll calculator with C++

  1. #1
    Registered User
    Join Date
    Dec 2012
    Posts
    4

    Programing a payroll calculator with C++

    Hi, I'm new here but I really need some help.
    I was wondering if someone could help me with my C++ project. Here is my situation, my final exam is coming up and my teacher has only showed up to class 8 times and all of which he was late. Needless to say I didn't learn much. realizing the term was ending the teacher has assigned a huge project, that will count as our Mid term and Final ( because he didn't even show up for the Mid term). I have been looking through our text book but this stuff is hard. Could anyone please help me.The pictures attached are the assignment, he basically made this off the top of his head and I'm freaking out! This is due Tuesday. Thanks for taking the time to read this.
    Attached Images Attached Images Programing a payroll calculator with C++-xl2jo-jpg Programing a payroll calculator with C++-ijqci-jpg Programing a payroll calculator with C++-yagys-jpg 

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    Wow - I thought just copy/pasting the text of the assignment was lazy, but just dumping pictures of the whiteboard is new.
    Just how long did that take you - 5 seconds!?

    Announcements - C++ Programming

    Start by actually reading the words.
    Your tutor has basically spoon-fed what to do.

    I mean, "Use a for loop" FFS - c'mon man, get a grip - read your book and start making an effort.
    You've got 3 days to work on this.

    Come back tomorrow with an actual ATTEMPT at solving some of these problems.
    Then we can talk about your code and the actual issues that remain.

    Just don't leave it to Monday evening before blasting us with "Urgent" posts.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  3. #3
    Registered User
    Join Date
    Dec 2012
    Posts
    4
    I honestly just got back from class sorry for the rushed post I'm freaking out. I also figure is would be better for you to see his exact works. I start what you see in the first picture, I'm using a switch, does that seem like a right choice?

  4. #4
    Bored Programmer
    Join Date
    Jul 2009
    Location
    Tomball, TX
    Posts
    428
    I'm using a switch, does that seem like a right choice?
    That seems like a great choice. You could even nest it in a while loop.
    Virtual reality hello world http://www.rodneybrothers.com/vr/vrh...rld/index.html in html and javascript.
    Viewable with dodocase, google cardboard, OR, and other compatible VR gear.

  5. #5
    Registered User
    Join Date
    Dec 2012
    Posts
    4
    Going to be honest I'm teaching myself as I go here I have no clue what I'm actually talking about or doing
    ಥ_ಥ . Could someone maybe walk be through this a bit I understand the "functions" like looping and stuff I just dont know how to execute them in the code.

  6. #6
    Bored Programmer
    Join Date
    Jul 2009
    Location
    Tomball, TX
    Posts
    428
    First function should be Welcome() where you cout a few stars stars being **** and welcome the user to the payroll calculator. If you get that working and post it I'll give you another "hint" but I don't think thats what you are looking for since all your hints are in the picture you posted.
    Virtual reality hello world http://www.rodneybrothers.com/vr/vrh...rld/index.html in html and javascript.
    Viewable with dodocase, google cardboard, OR, and other compatible VR gear.

  7. #7
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    Also cross-posted here -> Programing a payroll calculator with C++ - C++ Forum
    How To Ask Questions The Smart Way

    > Here is my situation, my final exam is coming up and my teacher has only showed up to class 8 times
    ...
    > Going to be honest I'm teaching myself as I go here I have no clue
    So what the hell have you been up to for the last 12 weeks or so?

    Seems to me you've been coasting along without a care in the world and all of a sudden, you're trying to make your panic our problem.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  8. #8
    Registered User
    Join Date
    Dec 2012
    Posts
    4
    Not gonna lie, I was pretty much coasting. I would do what little work we had and thought I was doing good. I didn't see this coming at all.... I'm working on the calculator part now I figure that would be the hardest part. I finished the banner part as for the main menu where the user puts in their info I'm saving that for later. If I posted my code for the calculator would you guys be willing to tell me what I could improve on it.

  9. #9
    Bored Programmer
    Join Date
    Jul 2009
    Location
    Tomball, TX
    Posts
    428
    Of course thats what the page is for. Alot of people here are willing to help in fact a bunch of us enjoy it, but we won't write anyone's program for them.
    Virtual reality hello world http://www.rodneybrothers.com/vr/vrh...rld/index.html in html and javascript.
    Viewable with dodocase, google cardboard, OR, and other compatible VR gear.

  10. #10
    Registered User
    Join Date
    Dec 2012
    Posts
    4
    Gotcha i wouldnt ask for someone to do it, at the most walk me through it like a child.... i actually think I got the basic parts of this down I shall return tomorrow with my head removed from my ..........

    thanks for the help and not ripping me a new one you guys are great
    looking forward to having you tear my poor excuse for coding apart tomorrow


    -- thanks again
    Last edited by SASQUATCH3000; 12-08-2012 at 01:32 AM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. c++ Payroll Due Today!!!!
    By jbuhrman in forum C++ Programming
    Replies: 2
    Last Post: 02-21-2010, 11:13 AM
  2. payroll problem
    By jms318 in forum C Programming
    Replies: 5
    Last Post: 12-07-2006, 11:02 AM
  3. Need help on payroll report
    By cgurl05 in forum C Programming
    Replies: 5
    Last Post: 04-08-2006, 07:58 PM
  4. Help with a payroll program
    By xc-racer in forum C++ Programming
    Replies: 10
    Last Post: 02-22-2004, 11:31 PM
  5. PayRoll Program- Look!
    By ProgrammingDlux in forum C++ Programming
    Replies: 2
    Last Post: 03-08-2002, 12:11 PM

Tags for this Thread