The C++ Program Structure
// File pixel.cpp continues
//instantiate an object called Apoint, make it visible, and then make it move
// itself across the screen
Point APoint(100, 50); // Initial X, Y location is at 100, 50
APoint.Show(); // APoint turns itself on
getch(); // Wait for keypress
APoint.MoveTo(300, 150); // APoint moves to 300,150
getch(); // Wait for keypress
APoint.Hide(); // APoint turns itself off
getch(); // Wait for keypress
closegraph(); // Restore original screen