View Single Post
Old Feb 21st, 2005, 4:38 AM   #3
drewlander
Newbie
 
drewlander's Avatar
 
Join Date: Jan 2005
Location: Pittsburgh, PA
Posts: 16
Rep Power: 0 drewlander is on a distinguished road
Send a message via AIM to drewlander
I dont have time to sit down and compile it but I notice that in your header file you have:
int SetHours();
and in the .cpp you have
Employee::SetHours( int hours )
The parameters should be the same, so they both should be SetHours(int)
Same with SetPayRate
also, before Employee:: you should have the return type of the function too
i.e. void Employee:etHours( int hours ){

for name, in your while loop you just have name[i++], I assume you meant lastname[i++]

That should take care of most of your errors, at least I think. Its 5:30am and ive been working all night, so I hope I'm not too wrong. Good luck!
__________________
On and on....
drewlander is offline   Reply With Quote