View Single Post
Old Feb 20th, 2005, 11:13 PM   #2
ZenMasterJG
Hobbyist Programmer
 
ZenMasterJG's Avatar
 
Join Date: Nov 2004
Location: Boston, MA
Posts: 148
Rep Power: 4 ZenMasterJG is on a distinguished road
Send a message via AIM to ZenMasterJG
Well, my compiler is being screwy, so i'll look at it more when i get that running again (damn you VS .NET!) but i noticed for your include your using iostream.h which is the old version, now use:
#include<iostream>
using namespace std;
is the easiest way.
Also, in your .cpp file, you didnt specify any return types, which is probably why your getting all those "overloaded function differs only by return type..." errors.

for example:
int Employee::GetHours()

Last edited by ZenMasterJG; Feb 20th, 2005 at 11:16 PM.
ZenMasterJG is offline   Reply With Quote