well for one thing, if you're passing a double value to Point::print(double factor)
why would you then want to assign a literal const value (1.0) to factor?
it should be taking that argument from the callback.. otherwise it should just be:
You're welcome!
If you're still following this.. I wonder if you should declare "factor" as a constdouble with yer private doubles x and y ^ in lines 8 and 9, instead of the function definition.
void Point::print(double factor=1.0)
maybe change that to this: void Point::print()