|
|
Point add(Point p1, Point p2)
with a return
statement. More specifically, a return statement that returns a Point class object. Maybe it doesn't work because you aren't assigning the function's result to anything? That's just a hunch being that I haven't taken much time to look at this or think it through.
|
|