// File: dayone.cxx // Written by Michael Main (Aug 22, 2011) // The main purpose of this program is to use as the first program // seen by a new programmer. The program opens a graphics window // and draws two circles with an 8-second pause after each drawing. #include #include using namespace std; int main( ) { // Initialize the graphics: initwindow(640, 400, "Day One Program"); // Draw shapes: circle(42, 80, 30); delay(8000); // Pauses for 8000 ms circle(60, 100, 35); delay(8000); // End the program: closegraph( ); return EXIT_SUCCESS; }