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...
Type: Posts; User: <showMe>
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...
Thanks :cool:
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...
Thanks, I'll try to do the modifications as you specified.
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....
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...
Thanks everyone. I'll try all that was suggested
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>
...
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"...