// Multimedia Class #ifndef MEDIA_H #define MEDIA_H #include using namespace std; class media { // Private data members private: string item, // the item name type, // type of media author, // the author of the media owner, // the owner of the media(student's email) field; // rent, sell, trade, borrow int dollars, // dollars of the price cents; // cents of the price // Public member functions public: // Constructor media(string = "", string = "", string = "", string = "", string = "", int = 0, int = 0); // Reporters string get_item(); string get_type(); string get_author(); string get_owner(); string get_field(); int get_dollars(); int get_cents(); // Mutators void set_item(string); void set_type(string); void set_author(string); void set_owner(string); void set_field(string); void set_dollars(int); void set_price(int, int); // Overloaded operators ostream& print(ostream&, string); media& operator=(const media& RHS); }; #endif