Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to solve Improper use TEmployee::GetDayOff();

Status
Not open for further replies.

bsisko

Programmer
Oct 9, 2000
85
US
I'm having a problem in one of my programs that I'm writing. I have declared in the .h file a class called Employee.
class TEmployee
{
int data;
int data;
etc

int GetDayOff();
int GetVacation();
etc
}

Later on in the .Cpp file where I try to implement the class, I get the error Improper Use Employee::GetDayOff()
 
the syntax is

functionReturnTyme TEmployee::functionName(funcrtionArguments)
{
implementation.
} John Fill
1c.bmp


ivfmd@mail.md
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top