I've already made a Point class here. Everything works fine when I write
cout << p1 << endl; //which p is a Point
but when I have two objects of Point and write
cout << (p1 + p2) << endl; //or (p1 - p2) and etc...
i get errors. You can see the errors here. I don't know the reason. please help.