The C++ Program Structure
/* File: PIXEL.CPP--Lab 1 assignment*/
// PIXEL.CPP demonstrates the Point and Location classes
// compile with POINT2.CPP and link with GRAPHICS.LIB
//start by including header files
#include <graphics.h> // declarations for graphics library
#include <conio.h> // for getch() function
#include "point.h" // declarations for Point and Location classes
// initialize the graphics system
int graphdriver = DETECT, graphmode;
initgraph(&graphdriver, &graphmode, "..\\bgi"); // the bgi directory is in under the