// Does not compiles, because int (in Point) is NOT a floating point type. #include #include #include "point.cc" int main(){ Point p1, p2(1,2); p1.move(1,1); // error: class Point has no member named move p2.move(2,2); // error: class Point has no member named move std::cout << "p1: " << p1 << std::endl; // (1,1) std::cout << "p2: " << p2 << std::endl; // (3,4) }