Search:

Type: Posts; User: <showMe>

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    1,680

    Compiler error c2228

    I've been working on this little project for a while now. Everytime I get close to completing it, something goes wrong. Can someone please tell me what this error means:


    error C2228: left of...
  2. Replies
    13
    Views
    1,629

    Thanks :cool:

    Thanks :cool:
  3. Replies
    13
    Views
    1,629

    Update.

    I've made some progress and the class complies and calculates properly. I tried a few different things but I cannot get the cout statements to align empId to the left anf pay to the right. How do I...
  4. Replies
    13
    Views
    1,629

    Thanks, I'll try to do the modifications as you...

    Thanks, I'll try to do the modifications as you specified.
  5. Replies
    13
    Views
    1,629

    Thanks for your assistance. I modified the...

    Thanks for your assistance. I modified the constructors but i still get the same three errors. I also tried declaring the const variable before the emploee class line but that didn't change anything....
  6. Replies
    13
    Views
    1,629

    Having trouble with const

    I had to modify this code to inlcude a const. When I did that, I keep getting three errors.
    This is my code,
    1. what am I doing wrong?
    2. I'm suppose to have the empId left justified and the...
  7. Replies
    7
    Views
    1,129

    Thanks everyone. I'll try all that was suggested

    Thanks everyone. I'll try all that was suggested
  8. Replies
    7
    Views
    1,129

    Revised

    I finally got this thing to compile but it does not display the calculations. How do i modify it so that the output actually shows what the pay is?



    #include "stdafx.h"
    #include <iostream>
    ...
  9. Replies
    7
    Views
    1,129

    My first class, errors, help

    This is my first attempt at creating a class. I am a little frustrated because I still have errors that I don't understand. What am I doing wrong? Help! :confused:




    #include "stdafx.h"...
Results 1 to 9 of 9