Hi last night i posted a problem, and a few of you guys kindly helped out!!
I now have got rid of all the errors and it runs!! However it will not work out the calculation it gives me a very strange no. likr 6.873546474+008 whicj is not the answer lol!
Here is all the code and i apoligise in advance if i have not laid it out correctly!!
Employee class
#pragma once
#include <iostream>
using namespace std;
class Employee
{
protected:
char* Plname;
char* Pfname;
int hours_worked;
int hourly_rate;
int final_pay;
The Manager class defines 'hours_worked' and 'hourly_rate' which are already defined in the Employee class and hence hide them. Plus the Manager class doesn't initialze its variables.