I have a question...

Nov 25, 2016 at 7:21am
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);
Nov 25, 2016 at 8:51am
1
2
3
4
double Employee::operator + (Employee employee)
{
    // Your code
}
Nov 25, 2016 at 9:48am
Thank you Tenma!
Topic archived. No new replies allowed.