Quote Originally Posted by Magi View Post
It's still not increasing the pay.
This is not a comprehensive reply because I do not know what you did.
Member functions that are labeled const do not change the attributes of the class.I can see that all your member functions are labelled const.
If you want to change the salaries of your classes well I think you should define two functions one for changing the salaries by whatever value and another for getting the salaries.
Code:
//get the salaries
 double get_monthly_pay() const {return monthly_pay;}
//change the salaries
double change_salaries () { monthly_pay += 50.00 ; }
Now go read something about member functions.