The C++ Program Structure
// File point2.cpp continues
putpixel(X, Y, getbkcolor()); // uses background color to erase
Boolean Point::IsVisible(void) {
void Point::MoveTo(int NewX, int NewY) {
Hide(); // make current point invisible
X = NewX; // change X and Y coordinates to new location
Show(); // show point at new location