I have a very simple class
class Point
{
public:
Point();
Point(double x, double y);
double x_;
double y_;
}
the problem is, I can't assign my class to another instance, ie:
Point A(2,4);
Point B();
B = A;
It says the lvalue must be modifiable. Why is it not?
Thanks,
Dave