“Magic Video Center” is a video rental company which rent outs Movies and Music videos to its customers. The rental fees for the Videos are calculated as follows.  For Movie Video:- Rental fee = (Number of Days * Fee per day) + Extra Charge  For Music Video:- Rental fee = (Number of Days * Fee per day)/2 The Fee per day for any video is Rs. 200.00 and the Extra Charge is Rs.1000.00 Write a complete C++ program using the Object oriented concepts to calculate the Rental fee for the 3videos issued to 3 customers. Please note the … +0 I have the following structure: CObject { protected: char *mName; public: CObject(char *n) { mName=strdup(n); } }; CVector:public CObject { char *mValues[50]; int mElements; public: CVector(char *n):CObject(n) {} }; CMatrix:public CObject { char *mValues[50][50]; int mLines; int mColumns; public: CMatrix(char *n):CObject(n) {} }; My main function: int main() { pV=new CVector("Vector 1"); pM=new CMatrice("Matrice 1"); delete pV; delete pM; } As you can see, i want to explicitly call them. +0

The End.