I have a question...

Alright I have a question that I'm not really understanding and my book does not go over it, and I have yet to really find anything helpful on the internet.

1. Write an implementation for the operator+() function

1
2
3
4
5
6
7
8
 class Employee
{
private:
int idNum;
double salary;
public:
Employee(int,double);
double operator+(Employee);
1
2
3
4
double Employee::operator + (Employee employee)
{
    // Your code
}
Thank you Tenma!
Topic archived. No new replies allowed.