/* File: box1.h Class declaration for the Box class */ #ifndef _box1_h #define _box1_h class Box { public: Box() ; /* constructor, makes new box */ void identify() ; /* prints out vital stats */ float volume() ; /* volume of the box */ void grow() ; /* double box dimensions */ void shrink() ; /* halve box dimensions */ private: float length ; /* box length */ float height ; /* box height */ float width ; /* box width */ float random() ; /* private random function */ } ; #endif