#include #include "CPoint.h" CPoint::CPoint() : Point(), color(0) { } CPoint::CPoint(int x, int y, int c) : Point(x, y), color(c) { } CPoint::~CPoint() { //std::cout << "Destructor CPoint" << std::endl; } void CPoint::print() const { std::cout << "(" << x << ", " << y << ") color= " << color << std::endl; }