User Profile

Collapse

Profile Sidebar

Collapse
Calek916
Calek916
Last Activity: Feb 16 '12, 06:42 PM
Joined: Nov 30 '11
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Thank you for your help it is now working. If I need anymore help I will be back.
    See more | Go to post

    Leave a comment:


  • Hey Banfa,
    Thank you for responding. Here is what I mean as you can see after running my program the first question that is asked is "Please Enter the Health Insurance type PPO or HMO:", then Life insurance, and then vacation days. Health Insurance, life insurance, and vacation days are in my benefit class. If you take a look at my main you can see that I do not have anything calling my benefits class. I have Employee one to call...
    See more | Go to post
    Last edited by Calek916; Feb 9 '12, 01:37 PM. Reason: I did not finish my thought.

    Leave a comment:


  • Here is a copy of my code.I just ran it and it is working.

    Code:
    #include <iostream>
    #include <stdlib.h>
    #include <string>
    #include <iomanip>
    
    using namespace std;
    
    // ========== Non-class Methods ==========
    void displayDivider(string outputTitle)
    {
    	cout << "**************** " + outputTitle + " ****************" << endl;
    ...
    See more | Go to post
    Last edited by Banfa; Feb 9 '12, 11:12 AM. Reason: Added [code]...[/code] tags round the code please use them in future

    Leave a comment:


  • Why does my benefit class run in my program without me calling it.

    The problem that I am having is when I run my program my Benefit class starts running and I have not called it my main but for some reason it is running first instead of my Employee class. This whole program works fine except for the benefit class starts before my Employee class. Can you help me figure it out.



    Code:
    #include <iostream>
    #include <stdlib.h>
    #include <string>
    #include <iomanip>
    ...
    See more | Go to post
    Last edited by Banfa; Feb 8 '12, 03:08 PM. Reason: Added [code]...[/code] tags round the code please use them in future.

  • Thank you Rabbit for your help. I got it to work just fine. Now I am having a problem when I run my program instead of getting my Employee::Emplo yee() which is where I ask for your first name, last name etc.Instead I get my benefit class to start and I do not have it called. Can you help.
    See more | Go to post

    Leave a comment:


  • Calek916
    started a topic I keep coming up with error 2504 base class undefined
    in C

    I keep coming up with error 2504 base class undefined

    I am trying to write this code that has an abstract class of iEmployee. I created the class and I am trying to get the Employee class to use it. I keep coming up with an error 2504 base class undefined. Can you please help me figure out why and how can I fix it.

    #include <iostream>
    #include <stdlib.h>
    #include <string>
    #include <iomanip>

    using namespace std;

    ...
    See more | Go to post
No activity results to display
Show More
Working...