/*************************************** 5_main.cpp Example source file for section 4a of the LoomSoft article: Organizing your Project Web: http://loomsoft.net Email: jay@loomsoft.net ***************************************/ #include //Required header file for i/o streams #include "box.h" // Include the box header file int main() // The main function. This is where the program starts { cout << "Hello world!" << endl; // Output a hello statement the_box.side_length = 10; // Set the side_length to 10 cout << "The box side length is: " << the_box.side_length << "." << endl; // Output the side length the_box.reduce_side_length(); // Call the member function of the box class cout << "The box side length reduced is: " << the_box.side_length << "." << endl; // Output the new length return(0); }