Hi I've got a Class Employee and im trying to create a subclass called TempEmployee, in writing in Eclipse, so I created a new class with a seperate
.h and .cpp file, and had thought that it was as easy as
/**
* TempEmployee.h
**/
class TempEmployee : public Employee {
public: whatever
};
but I keep getting the following error:
error: expected class-name before '{' token
really dont know what to do to solve it and hope someone can tell me what to do
thanks