// Project 2 for CS 1704 Spring 2004 // // Programmer: John Puckett // OS: Windows XP Professional // System: Pentium 4 2.4Ghz, 1 GB Memory // Compiler: Visual C++ 7.1, Service Pack 4 // Last modified: February 24, 2004 // // Purpose // This program reads a list of student names and items from two input files // creates 2 arrays from the data, then uses another input file to run different // algorithms on the arrays // // The program then writes the given commands and the results to // an output file using namespace std; #ifndef MULTIMEDIA_H #define MULTIMEDIA_H class multimedia { public: //Constructors multimedia(); //Destructor ~multimedia(); //Modifier methods void updateItem(string newitem); void updateType(string newtype); void updateAuthor(string newauthor); void updateOwner(string newowner); void updatePrice(string newprice); void updateAvail(string newavail); //Accessor methods string getItem() const; string getType() const; string getAuthor() const; string getOwner() const; string getPrice() const; string getAvail() const; private: string item; string type; string author; string owner; string price; string avail; }; #endif